summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libncurses/lib_newterm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libncurses/lib_newterm.c b/lib/libncurses/lib_newterm.c
index 1fed65c6f976..88d0a6039477 100644
--- a/lib/libncurses/lib_newterm.c
+++ b/lib/libncurses/lib_newterm.c
@@ -127,6 +127,7 @@ char *use_it = _ncurses_copyright;
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
sigaction(SIGINT, &act, NULL);
+ sigaction(SIGTERM, &act, NULL);
#if 0
sigaction(SIGSEGV, &act, NULL);
#endif