Replace SIGWINCH XXX comment with better explanation
parent
b6cedf7dba
commit
65280c0b60
3
chat.c
3
chat.c
|
@ -399,8 +399,7 @@ int main(int argc, char *argv[]) {
|
||||||
if (signals[SIGWINCH]) {
|
if (signals[SIGWINCH]) {
|
||||||
signals[SIGWINCH] = 0;
|
signals[SIGWINCH] = 0;
|
||||||
cursesWinch(SIGWINCH);
|
cursesWinch(SIGWINCH);
|
||||||
// XXX: For some reason, calling uiDraw() here is the only way to
|
// doupdate(3) needs to be called for KEY_RESIZE to be picked up.
|
||||||
// get uiRead() to properly receive KEY_RESIZE.
|
|
||||||
uiDraw();
|
uiDraw();
|
||||||
uiRead();
|
uiRead();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue