mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-09 08:21:01 -04:00
input: kitty: treat repeating == pressed when report-events is off
This commit is contained in:
parent
4e5d1b5c79
commit
6b9b03b8dd
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -1156,7 +1156,7 @@ kitty_kbd_protocol(struct seat *seat, struct terminal *term,
|
||||||
const bool disambiguate = flags & KITTY_KBD_DISAMBIGUATE;
|
const bool disambiguate = flags & KITTY_KBD_DISAMBIGUATE;
|
||||||
const bool report_events = flags & KITTY_KBD_REPORT_EVENT;
|
const bool report_events = flags & KITTY_KBD_REPORT_EVENT;
|
||||||
|
|
||||||
if (!report_events && !pressed)
|
if (!report_events && released)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
/* TODO: should we even bother with this, or just say it’s not supported? */
|
/* TODO: should we even bother with this, or just say it’s not supported? */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue