mirror of
https://github.com/tmux/tmux.git
synced 2026-10-07 10:14:28 +00:00
Add Kitty keyboard protocol support
This commit is contained in:
@@ -435,8 +435,11 @@ screen_write_reset(struct screen_write_ctx *ctx)
|
||||
|
||||
s->mode = MODE_CURSOR|MODE_WRAP;
|
||||
|
||||
if (options_get_number(global_options, "extended-keys") == 2)
|
||||
if (options_get_number(global_options, "extended-keys") == 2 &&
|
||||
options_get_number(global_options, "extended-keys-format") !=
|
||||
EXTENDED_KEYS_KITTY)
|
||||
s->mode = (s->mode & ~EXTENDED_KEY_MODES)|MODE_KEYS_EXTENDED;
|
||||
input_kitty_reset(s);
|
||||
|
||||
screen_write_clearscreen(ctx, 8);
|
||||
screen_write_set_cursor(ctx, 0, 0);
|
||||
|
||||
Reference in New Issue
Block a user