summaryrefslogtreecommitdiffstats
path: root/src/ft_m_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ft_m_loop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ft_m_loop.c b/src/ft_m_loop.c
index 1e2efc0..d53ae89 100644
--- a/src/ft_m_loop.c
+++ b/src/ft_m_loop.c
@@ -28,6 +28,8 @@ int32_t
{
ft_m_prompt(msh);
gnl = get_next_line(STDIN_FILENO, &line);
+ ft_p_line(line, msh);
+ ft_memdel((void*)&line);
}
return (FT_RET_FINE);
}