diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-11-28 18:20:37 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-12-08 17:03:48 +0000 |
| commit | 5d94b02a03877adf85f4e4f721d4f1adaece5397 (patch) | |
| tree | 43dd2c7660ae8a0268114915fdcb14cf8fd12c50 | |
| parent | changelog: kitty: report events (diff) | |
input: kitty: treat repeating == pressed when report-events is off
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1151,7 +1151,7 @@ kitty_kbd_protocol(struct seat *seat, struct terminal *term, const bool disambiguate = flags & KITTY_KBD_DISAMBIGUATE; const bool report_events = flags & KITTY_KBD_REPORT_EVENT; - if (!report_events && !pressed) + if (!report_events && released) return false; /* TODO: should we even bother with this, or just say it’s not supported? */ |
