diff options
author | June McEnroe <june@causal.agency> | 2020-02-09 14:09:27 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2020-02-09 14:09:27 -0500 |
commit | 5254e1035c5945407ee354276f839426fc17e432 (patch) | |
tree | 3dcbba594340dd4f5fd72bac0cced834fd9db1b9 /chat.c | |
parent | Add M-u (diff) | |
download | catgirl-5254e1035c5945407ee354276f839426fc17e432.tar.gz catgirl-5254e1035c5945407ee354276f839426fc17e432.zip |
Add /help
Now with automatic search! Also had to fix the SIGCHLD handling...
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 dbad242..ff74485 100644 --- a/chat.c +++ b/chat.c @@ -191,6 +191,7 @@ int main(int argc, char *argv[]) { if (signals[SIGINT] || signals[SIGTERM]) break; if (signals[SIGCHLD]) { + signals[SIGCHLD] = 0; int status; while (0 < waitpid(-1, &status, WNOHANG)) { if (WIFEXITED(status) && WEXITSTATUS(status)) { @@ -206,6 +207,7 @@ int main(int argc, char *argv[]) { ); } } + uiShow(); } if (signals[SIGWINCH]) { |