From aa89d8488ef0ec021505bee68d6ee5060191cfc1 Mon Sep 17 00:00:00 2001 From: salad Date: Wed, 26 Aug 2020 16:49:29 +0200 Subject: handlesigw --- src/m_loop.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/m_loop.c') 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) { -- cgit v1.2.3