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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 6444c1b..a5e816d 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -152,6 +152,7 @@ unsigned char m_loop(int fd, t_msh *msh)
if (fd == STDIN_FILENO)
m_handle_hist(hist, line, msh);
m_parse_and_run_line(line, 0, msh);
+ c_set_ptr(TRUE, 0, msh);
}
else
ft_memdel((void*)&line);