diff options
author | C. McEnroe | 2021-06-21 18:26:32 -0400 |
---|---|---|
committer | C. McEnroe | 2021-06-21 18:27:35 -0400 |
commit | 65280c0b6007c88663c5579f8b0871817098a5c6 (patch) | |
tree | b39ca97fedfe1c7f57a6b6dd9fdd92a4bc4b73d3 | |
parent | b6cedf7dba67907200444aa7d54dea2065c7c210 (diff) |
Replace SIGWINCH XXX comment with better explanation
-rw-r--r-- | chat.c | 3 |
1 files changed, 1 insertions, 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(); } |