aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nnn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nnn.c b/src/nnn.c
index ce46c1c..cbe40fd 100644
--- a/src/nnn.c
+++ b/src/nnn.c
@@ -4034,6 +4034,7 @@ int main(int argc, char *argv[])
filterfn = &visible_str;
}
+ /* Ignore certain signals */
signal(SIGINT, SIG_IGN);
signal(SIGQUIT, SIG_IGN);