summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/m_loop.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 86d641f..ed92fd5 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -14,13 +14,14 @@
#include <stdint.h>
#include <stdlib.h>
#include <unistd.h>
+#include <signal.h>
#include "e_line.h"
#include "m_loop_next.h"
#include "m_prompt.h"
#include "p_line.h"
#include "s_line.h"
-#include "u_utils.h"
+#include "c_init.h"
static void
m_parse_and_run_line(char *line, t_msh *msh)
@@ -37,7 +38,8 @@ uint8_t
char *line;
int8_t gnl;
- signal(SIGWINCH, u_handle_sigwinch);
+ c_init_tcaps();
+ signal(SIGWINCH, u_handle_sigwinch);
gnl = 1;
while (gnl > 0)
{