summaryrefslogtreecommitdiffstats
path: root/src/u_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/u_utils.c')
-rw-r--r--src/u_utils.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/u_utils.c b/src/u_utils.c
index f50d861..b4ef987 100644
--- a/src/u_utils.c
+++ b/src/u_utils.c
@@ -14,6 +14,7 @@
#include <stdlib.h>
#include <stdint.h>
#include <unistd.h>
+#include <signal.h>
#include "f_fail.h"
#include "s_struct.h"
@@ -65,3 +66,10 @@ uint64_t
}
return (argc);
}
+
+int u_handle_sigwinch(int dummy_signal)
+{
+ term = getenv();
+ tputs(, 1, ft_putchar);
+ fflush(stdout);
+}