git.y1.nz

mtm

Ncurses-based terminal multiplexer
download: https://git.y1.nz/archives/mtm.tar.gz
Files | Log | Refs

commit 3bbe196fc6a4000e75c5e8e49245948691e56222
parent 776aac99f58cae8a00814cf50d91f6931644946c
Author: Rob King <jking@deadpixi.com>
Date:   Tue, 21 Feb 2017 09:49:31 -0600

Fix broken signal mask on fork.

Diffstat:
Mmtm.c2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mtm.c b/mtm.c @@ -171,6 +171,7 @@ newview(NODE *p, int y, int x, int h, int w) else if (n->pid == 0){ setsid(); setenv("TERM", monochrome? "mach" : "mach-color", 1); + signal(SIGCHLD, SIG_DFL); execl(getshell(), getshell(), NULL); return NULL; } @@ -438,7 +439,6 @@ run(void) if (select(nfds + 1, &sfds, NULL, NULL, NULL) < 0) FD_ZERO(&sfds); while (handlechar(wgetch(focused->win))) ; - getinput(root, &sfds); doupdate(); fixcursor();

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.