[input] set evtype on SIGWINCH

This commit is contained in:
nick black 2021-10-06 18:30:53 -04:00
parent d7a0657198
commit 21f38824ad
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -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;
} }