mirror of https://github.com/tmux/tmux.git
Revert to marking lines as wrapped on newlines, fixes problems with
capturep -J.pull/1165/head
parent
b298478435
commit
cc768d77ec
|
@ -795,6 +795,8 @@ screen_write_linefeed(struct screen_write_ctx *ctx, int wrapped)
|
|||
gl = &s->grid->linedata[s->grid->hsize + s->cy];
|
||||
if (wrapped)
|
||||
gl->flags |= GRID_LINE_WRAPPED;
|
||||
else
|
||||
gl->flags &= ~GRID_LINE_WRAPPED;
|
||||
|
||||
if (s->cy == s->rlower)
|
||||
grid_view_scroll_region_up(s->grid, s->rupper, s->rlower);
|
||||
|
|
Loading…
Reference in New Issue