Simplify Kitty query completion flag

This commit is contained in:
Michael Grant
2026-09-15 06:11:25 +01:00
parent 10ea823da6
commit 9e88490a05

View File

@@ -1553,8 +1553,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. */
if (~tty->flags & TTY_HAVEKKB)
tty->flags |= TTY_HAVEKKB;
tty->flags |= TTY_HAVEKKB;
tty_update_features(tty);
tty->flags |= TTY_HAVEDA;