From 9e88490a059bdcf5bff82e430c0453294d01b315 Mon Sep 17 00:00:00 2001 From: Michael Grant Date: Tue, 15 Sep 2026 06:11:25 +0100 Subject: [PATCH] Simplify Kitty query completion flag --- tty-keys.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tty-keys.c b/tty-keys.c index 6ecbd003c..d2af37312 100644 --- a/tty-keys.c +++ b/tty-keys.c @@ -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;