mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Fix infloop in redisplay due to continuation glyphs
* src/xdisp.c (display_line): When inserting continuation glyphs, account for the border glyph in non-rightmost windows on TTY frames. (Bug#80975)
This commit is contained in:
parent
fdab8a9185
commit
4beb8e8963
1 changed files with 4 additions and 1 deletions
|
|
@ -26316,7 +26316,10 @@ display_line (struct it *it, int cursor_vpos)
|
|||
/* Fill the rest of the row with continuation
|
||||
glyphs like in 20.x. */
|
||||
while (row->glyphs[TEXT_AREA] + row->used[TEXT_AREA]
|
||||
< row->glyphs[1 + TEXT_AREA])
|
||||
< (row->glyphs[1 + TEXT_AREA]
|
||||
/* Account for the border glyph. */
|
||||
- (!WINDOW_RIGHTMOST_P (it->w)
|
||||
&& WINDOW_RIGHT_MARGIN_WIDTH (it->w) == 0)))
|
||||
produce_special_glyphs (it, IT_CONTINUATION,
|
||||
it->bidi_it.paragraph_dir, false);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue