summaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-08-26 18:44:24 +0200
committersalad <fmoenne-@student.le-101.fr>2020-08-26 18:44:24 +0200
commitad1f44c7ff032c3b20d493805e544cd70ed4bb89 (patch)
treeef5b2f5408646ec27e0503a69057c8ba6b8aff3b /src/u_utils.c
parenthandlesigw (diff)
download42-minishell-ad1f44c7ff032c3b20d493805e544cd70ed4bb89.tar.gz
42-minishell-ad1f44c7ff032c3b20d493805e544cd70ed4bb89.tar.bz2
42-minishell-ad1f44c7ff032c3b20d493805e544cd70ed4bb89.tar.xz
42-minishell-ad1f44c7ff032c3b20d493805e544cd70ed4bb89.tar.zst
42-minishell-ad1f44c7ff032c3b20d493805e544cd70ed4bb89.zip
s**** f*****
Diffstat (limited to 'src/u_utils.c')
-rw-r--r--src/u_utils.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index b4ef987..745b79c 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -15,6 +15,8 @@
#include <stdint.h>
#include <unistd.h>
#include <signal.h>
+#include <term.h>
+#include <curses.h>
#include "f_fail.h"
#include "s_struct.h"
@@ -66,10 +68,3 @@ uint64_t
}
return (argc);
}
-
-int u_handle_sigwinch(int dummy_signal)
-{
- term = getenv();
- tputs(, 1, ft_putchar);
- fflush(stdout);
-}