summaryrefslogtreecommitdiffstats
path: root/src/c_input.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-11-07 23:37:26 +0100
committersalad <fmoenne-@student.le-101.fr>2020-11-07 23:37:26 +0100
commit1494b105cce7eac172bd07cf324ec48a37de46bf (patch)
tree4c94a2e7f3e48b40338823c18fefd293e42add5a /src/c_input.c
parentc_ctrls (diff)
download42-minishell-1494b105cce7eac172bd07cf324ec48a37de46bf.tar.gz
42-minishell-1494b105cce7eac172bd07cf324ec48a37de46bf.tar.bz2
42-minishell-1494b105cce7eac172bd07cf324ec48a37de46bf.tar.xz
42-minishell-1494b105cce7eac172bd07cf324ec48a37de46bf.tar.zst
42-minishell-1494b105cce7eac172bd07cf324ec48a37de46bf.zip
ctrlc \
Diffstat (limited to 'src/c_input.c')
-rw-r--r--src/c_input.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/c_input.c b/src/c_input.c
index ce571ca..9023f37 100644
--- a/src/c_input.c
+++ b/src/c_input.c
@@ -13,7 +13,6 @@
#include <unistd.h>
#include <stdlib.h>
#include <libft.h>
-#include <signal.h>
#include <term.h>
#include "c_ctrls.h"
@@ -35,8 +34,6 @@ short
if (!tgetent(NULL, term))
return (-1);
c_set_term_raw(1);
- signal(SIGINT, c_signal_int);
- signal(SIGQUIT, c_signal_ign);
tcaps->cpos = 0;
tcaps->lpos = 0;
tcaps->nlines = 1;