mirror of
https://github.com/tmux/tmux.git
synced 2024-12-24 10:08:48 +00:00
Reset all flags in screen_write_reset, reported by Benjamin Poirier.
This commit is contained in:
parent
d5b92ac37e
commit
ef904cfef2
@ -144,8 +144,7 @@ screen_write_reset(struct screen_write_ctx *ctx)
|
||||
screen_reset_tabs(s);
|
||||
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
|
||||
|
||||
s->mode &= ~(MODE_INSERT|MODE_KCURSOR|MODE_KKEYPAD|MODE_FOCUSON);
|
||||
s->mode &= ~(ALL_MOUSE_MODES|MODE_MOUSE_UTF8|MODE_MOUSE_SGR);
|
||||
s->mode = MODE_CURSOR | MODE_WRAP;
|
||||
|
||||
screen_write_clearscreen(ctx, 8);
|
||||
screen_write_cursormove(ctx, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user