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-04 17:32:06 +0000 |
| commit | 6b9b03b8ddd1b3b1d929e2843a0b021e2522999d (patch) | |
| tree | 000a2e7f7d6aeebf8f55f404e4d0a46d392987fa /input.c | |
| parent | changelog: kitty: report events (diff) | |
input: kitty: treat repeating == pressed when report-events is off
Diffstat (limited to 'input.c')
| -rw-r--r-- | input.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1156,7 +1156,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? */ |
