mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -04:00
input: kitty: treat repeating == pressed when report-events is off
This commit is contained in:
parent
a242ba3f97
commit
5d94b02a03
1 changed files with 1 additions and 1 deletions
2
input.c
2
input.c
|
|
@ -1151,7 +1151,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