mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -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
e9a762f8a1
commit
21fe01099c
1 changed files with 1 additions and 1 deletions
2
input.c
2
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue