From: sin Date: Tue, 3 Nov 2015 17:48:39 +0000 (+0000) Subject: Ignore SIGINT to allow returning back to noice when we kill the screensaver X-Git-Tag: v1.0~92^2~51 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=62736bf43a528f472dd01c87fa1d4ac247e07043;p=nnn.git Ignore SIGINT to allow returning back to noice when we kill the screensaver Use 'q' to quit. --- diff --git a/noice.c b/noice.c index 18577d38..ef866d04 100644 --- a/noice.c +++ b/noice.c @@ -918,6 +918,8 @@ main(int argc, char *argv[]) ipath = "/"; } + signal(SIGINT, SIG_IGN); + /* Test initial path */ if (canopendir(ipath) == 0) printerr(1, ipath);