From 21f38824ad5b2c035a5f7b0a6b6fc456f17a4bc1 Mon Sep 17 00:00:00 2001 From: nick black Date: Wed, 6 Oct 2021 18:30:53 -0400 Subject: [PATCH] [input] set evtype on SIGWINCH --- src/lib/in.c | 1 + 1 file changed, 1 insertion(+) 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; }