mirror of
https://github.com/tmux/tmux.git
synced 2024-11-18 02:18:53 +00:00
Set extended keys flag again after reset, from Eric T Johnson.
This commit is contained in:
parent
84936b832f
commit
2f74e811f1
@ -326,7 +326,9 @@ screen_write_reset(struct screen_write_ctx *ctx)
|
|||||||
screen_reset_tabs(s);
|
screen_reset_tabs(s);
|
||||||
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
|
screen_write_scrollregion(ctx, 0, screen_size_y(s) - 1);
|
||||||
|
|
||||||
s->mode = MODE_CURSOR | MODE_WRAP;
|
s->mode = MODE_CURSOR|MODE_WRAP;
|
||||||
|
if (options_get_number(global_options, "extended-keys") == 2)
|
||||||
|
s->mode |= MODE_KEXTENDED;
|
||||||
|
|
||||||
screen_write_clearscreen(ctx, 8);
|
screen_write_clearscreen(ctx, 8);
|
||||||
screen_write_set_cursor(ctx, 0, 0);
|
screen_write_set_cursor(ctx, 0, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user