diff options
Diffstat (limited to 'src/c_input.c')
-rw-r--r-- | src/c_input.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/c_input.c b/src/c_input.c index 9023f37..141538d 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -14,6 +14,7 @@ #include <stdlib.h> #include <libft.h> #include <term.h> +#include <signal.h> #include "c_ctrls.h" #include "c_init.h" @@ -28,6 +29,8 @@ short { char *term; + signal(SIGINT, c_signal_int); + signal(SIGQUIT, c_signal_ign); if (tcaps) { term = getenv("TERM"); |