From 65280c0b6007c88663c5579f8b0871817098a5c6 Mon Sep 17 00:00:00 2001 From: C. McEnroe Date: Mon, 21 Jun 2021 18:26:32 -0400 Subject: Replace SIGWINCH XXX comment with better explanation --- chat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/chat.c b/chat.c index 790038c..a8940c3 100644 --- a/chat.c +++ b/chat.c @@ -399,8 +399,7 @@ int main(int argc, char *argv[]) { if (signals[SIGWINCH]) { signals[SIGWINCH] = 0; cursesWinch(SIGWINCH); - // XXX: For some reason, calling uiDraw() here is the only way to - // get uiRead() to properly receive KEY_RESIZE. + // doupdate(3) needs to be called for KEY_RESIZE to be picked up. uiDraw(); uiRead(); } -- cgit 1.4.1-2-gfad0