kitty: only emit plain text on key press- and repeat events

That is, release events always generate CSIs
This commit is contained in:
Daniel Eklöf 2021-12-07 20:26:12 +01:00
parent e9a762f8a1
commit 21fe01099c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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;
}