summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/m_loop.c')
-rw-r--r--src/m_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index e174f30..86d641f 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -20,6 +20,7 @@
#include "m_prompt.h"
#include "p_line.h"
#include "s_line.h"
+#include "u_utils.h"
static void
m_parse_and_run_line(char *line, t_msh *msh)
@@ -36,6 +37,7 @@ uint8_t
char *line;
int8_t gnl;
+ signal(SIGWINCH, u_handle_sigwinch);
gnl = 1;
while (gnl > 0)
{