From 21fe01099cb2ff84b1530574a228aebd614668bb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Tue, 7 Dec 2021 20:26:12 +0100 Subject: [PATCH] kitty: only emit plain text on key press- and repeat events That is, release events always generate CSIs --- input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/input.c b/input.c index 84c83ea8..869e1c67 100644 --- a/input.c +++ b/input.c @@ -1230,7 +1230,7 @@ kitty_kbd_protocol(struct seat *seat, struct terminal *term, } /* Plain-text without modifiers, or commposed text, is emitted as-is */ - if (is_text) { + if (is_text && !released) { term_to_slave(term, utf8, count); return true; }