mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[input] set evtype on SIGWINCH
This commit is contained in:
parent
d7a0657198
commit
21f38824ad
@ -1216,6 +1216,7 @@ add_unicode(inputctx* ictx, uint32_t id){
|
|||||||
ni->ctrl = false;
|
ni->ctrl = false;
|
||||||
ni->shift = false;
|
ni->shift = false;
|
||||||
ni->x = ni->y = 0;
|
ni->x = ni->y = 0;
|
||||||
|
ni->evtype = NCTYPE_UNKNOWN;
|
||||||
if(++ictx->iwrite == ictx->isize){
|
if(++ictx->iwrite == ictx->isize){
|
||||||
ictx->iwrite = 0;
|
ictx->iwrite = 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user