• Eli Zaretskii's avatar
    Fix R2L paragraph display on TTY. · 93d68d0c
    Eli Zaretskii authored
     xdisp.c (unproduce_glyphs): New function.
     (display_line): Use it when produced glyphs are discarded from R2L
     glyph rows.
     (append_composite_glyph): In R2L rows, prepend the glyph rather
     than appending it.
     term.c (append_composite_glyph): In R2L rows, prepend the glyph
     rather than append it.  Set up the resolved_level and bidi_type
     attributes of the appended glyph.
    93d68d0c
term.c 115 KB