]> git.eshelyaron.com Git - emacs.git/commit
Fix display of truncated R2L lines on TTY frames
authorEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 11:56:12 +0000 (13:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 14 Nov 2020 11:56:12 +0000 (13:56 +0200)
commit5aabf2cc7f90a168fda694c6c5360f1df398255c
tree268fe50980653c96858ea0b0b9c4b8b8ae0d5a57
parentdaff3bda10d15fe20f5f6e9c5f5ca60b97cf80df
Fix display of truncated R2L lines on TTY frames

* src/xdisp.c (extend_face_to_end_of_line): Use a while-loop, not
a do-while loop, to avoid appending an extra glyph at the end of a
line that is one character shorter than the window-width.  This is
needed to fix display of reversed glyph rows that are almost as
wide as the window, because append_space_for_newline already added
one space glyph.
src/xdisp.c