mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-10 01:29:05 -04:00
[kitty] treat absent event type as NCTYPE_PRESS #2527
This commit is contained in:
parent
dc8c7d8826
commit
2584435efc
@ -801,6 +801,8 @@ kitty_kbd(inputctx* ictx, int val, int mods, int evtype){
|
||||
}
|
||||
// FIXME decode remaining modifiers super, hyper, caps_lock, num_lock
|
||||
switch(evtype){
|
||||
case 0:
|
||||
__attribute__ ((fallthrough));
|
||||
case 1:
|
||||
tni.evtype = NCTYPE_PRESS;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user