From f3f3f600404d4c565e8223df61220e483e382491 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 f0acc356..0242371a 100644 --- a/input.c +++ b/input.c @@ -1225,7 +1225,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; }