Send kitty keyboard probe only if extended-keys is not off.

This commit is contained in:
Michael Grant
2026-09-29 17:48:26 +01:00
parent 895c9e4b42
commit ff391aa052
7 changed files with 49 additions and 10 deletions

View File

@@ -1401,10 +1401,8 @@ options_push_changes(const char *name)
server_client_set_key_table(loop, NULL);
}
if (strcmp(name, "extended-keys") == 0) {
TAILQ_FOREACH(loop, &clients, entry) {
if (loop->tty.flags & TTY_STARTED)
tty_update_features(&loop->tty);
}
TAILQ_FOREACH(loop, &clients, entry)
tty_extended_keys_changed(&loop->tty);
}
if (strcmp(name, "user-keys") == 0) {
TAILQ_FOREACH(loop, &clients, entry) {