diff options
author | June McEnroe <june@causal.agency> | 2020-02-05 02:03:21 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-05 02:03:21 -0500 |
commit | 42210e079bcdea26261af577d0802fdc4c3d03b6 (patch) | |
tree | 261900c12bd5bc278333ebed175d7de37d5996b8 /chat.c | |
parent | Save own username for message echoing (diff) | |
download | catgirl-42210e079bcdea26261af577d0802fdc4c3d03b6.tar.gz catgirl-42210e079bcdea26261af577d0802fdc4c3d03b6.zip |
Reflow text on window resize
Diffstat (limited to '')
-rw-r--r-- | chat.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/chat.c b/chat.c index 545eca6..a8b2fa2 100644 --- a/chat.c +++ b/chat.c @@ -122,6 +122,8 @@ int main(int argc, char *argv[]) { if (signals[SIGHUP] || signals[SIGINT] || signals[SIGTERM]) { break; } + // FIXME: Display doesn't update properly when receiving many of these + // until some input? if (signals[SIGWINCH]) { signals[SIGWINCH] = 0; cursesWinch(SIGWINCH); |