summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-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 b249935..c7ca9cc 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -142,6 +142,7 @@ unsigned char m_loop(int fd, t_msh *msh)
gnl = 1;
msh->curr_hist_ptr = hist;
c_get_msh(1, msh);
+ c_set_ptr(TRUE, 0, msh);
signal(SIGINT, c_signal_int);
signal(SIGQUIT, c_signal_ign);
while (gnl > 0)