diff --git a/src/lib/in.c b/src/lib/in.c index 3f3001a34..2bd24d891 100644 --- a/src/lib/in.c +++ b/src/lib/in.c @@ -1216,6 +1216,7 @@ add_unicode(inputctx* ictx, uint32_t id){ ni->ctrl = false; ni->shift = false; ni->x = ni->y = 0; + ni->evtype = NCTYPE_UNKNOWN; if(++ictx->iwrite == ictx->isize){ ictx->iwrite = 0; }