mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-11 04:27:49 -05:00
kitty: only emit plain text on key press- and repeat events
That is, release events always generate CSIs
This commit is contained in:
parent
40b69ab521
commit
f3f3f60040
1 changed files with 1 additions and 1 deletions
2
input.c
2
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue