Replace SIGWINCH XXX comment with better explanation

master
C. McEnroe 2021-06-21 18:26:32 -04:00
parent b6cedf7dba
commit 65280c0b60
1 changed files with 1 additions and 2 deletions

3
chat.c
View File

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