diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 17:31:32 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-04-20 17:31:32 +0200 |
commit | c85c10c0308c565ed0e1c6320a81551f1777b56d (patch) | |
tree | 8f4fbed31da06f4f0716cd37d1b4cfaa43f55685 /src/ft_m_loop.c | |
parent | Nice prompt (diff) | |
download | 42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.gz 42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.bz2 42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.xz 42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.tar.zst 42-minishell-c85c10c0308c565ed0e1c6320a81551f1777b56d.zip |
Cool funptr
Diffstat (limited to 'src/ft_m_loop.c')
-rw-r--r-- | src/ft_m_loop.c | 2 |
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); } |