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 40b69ab521
commit f3f3f60040
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

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