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 7c6d351..d3360cd 100644 --- a/src/c_input.c +++ b/src/c_input.c @@ -13,6 +13,7 @@ #include <libft.h> #include <term.h> #include <unistd.h> +#include <signal.h> #include "c_init.h" #include "c_input.h" @@ -25,6 +26,8 @@ int16_t { if (tcaps) { + c_set_term_raw(1); + signal(SIGINT, SIG_IGN); tcaps->cpos = 0; tcaps->lpos = 0; return (1); |