mtm | Ncurses-based terminal multiplexer |
| download: https://git.y1.nz/archives/mtm.tar.gz | |
| Files | Log | Refs |
commit a263866aa41553d4a234b2feccde221d0b07fec2 parent 6d4b52651257ca6f5e58639f9cad4891f4ddca41 Author: Rob King <jking@deadpixi.com> Date: Mon, 20 Feb 2017 13:48:10 -0600 Reap zombies. Diffstat:
| M | mtm.c | 4 | ++-- |
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mtm.c b/mtm.c @@ -18,6 +18,7 @@ #include <locale.h> #include <pty.h> #include <pwd.h> +#include <signal.h> #include <stdbool.h> #include <stdlib.h> #include <string.h> @@ -472,9 +473,9 @@ initcolors(void) int main(int argc, char **argv) { - FD_ZERO(&fds); FD_SET(STDIN_FILENO, &fds); setlocale(LC_ALL, ""); + signal(SIGCHLD, SIG_IGN); int c = 0; while ((c = getopt(argc, argv, "mc:e:")) != -1){ @@ -491,7 +492,6 @@ main(int argc, char **argv) noecho(); start_color(); initcolors(); - focus(root = newview(NULL, 0, 0, LINES, COLS)); run();
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.