diff options
author | C. McEnroe | 2020-02-09 14:09:27 -0500 |
---|---|---|
committer | C. McEnroe | 2020-02-09 14:09:27 -0500 |
commit | 5254e1035c5945407ee354276f839426fc17e432 (patch) | |
tree | 3dcbba594340dd4f5fd72bac0cced834fd9db1b9 /chat.c | |
parent | f0e2c089c943abc2d298646e9fd988aa2a1c0c16 (diff) |
Add /help
Now with automatic search! Also had to fix the SIGCHLD handling...
Diffstat (limited to 'chat.c')
-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]) { |