aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
authorsin <sin@2f30.org>2015-11-03 17:48:39 +0000
committersin <sin@2f30.org>2015-11-03 17:49:07 +0000
commit62736bf43a528f472dd01c87fa1d4ac247e07043 (patch)
treef3dc4e07b47fa78d7303d0966dadf8e3c556591f /noice.c
parent1e18b85e56d98ca2daeb7adc587c28f5d653a01f (diff)
downloadnoice-62736bf43a528f472dd01c87fa1d4ac247e07043.tar.gz
Ignore SIGINT to allow returning back to noice when we kill the screensaver
Use 'q' to quit.
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/noice.c b/noice.c
index 18577d3..ef866d0 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);
Un proyecto texto-plano.xyz