mirror of
https://github.com/tmux/tmux.git
synced 2026-10-08 19:14:20 +00:00
Send kitty keyboard probe only if extended-keys is not off.
This commit is contained in:
@@ -1562,7 +1562,7 @@ tty_keys_device_attributes(struct tty *tty, const char *buf, size_t len,
|
||||
}
|
||||
log_debug("%s: received primary DA %.*s", c->name, (int)*size, buf);
|
||||
|
||||
/* A DA response without a preceding keyboard response means no support. */
|
||||
/* The keyboard query, if sent, is answered first; else nothing is due. */
|
||||
tty->flags |= TTY_HAVEKKB;
|
||||
tty_update_features(tty);
|
||||
tty->flags |= TTY_HAVEDA;
|
||||
|
||||
Reference in New Issue
Block a user