summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorSalad <water_appreciator@protonmail.com>2020-10-02 16:55:52 +0200
committerSalad <water_appreciator@protonmail.com>2020-10-02 16:55:52 +0200
commitb6b09fc1fa8e4f70f042cfe48f26b28d798498d3 (patch)
tree22ec864530fc4a0a9e642bdf35c42b2dacc93e95 /src/m_loop.c
parentlessgo (diff)
download42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.gz
42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.bz2
42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.xz
42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.tar.zst
42-minishell-b6b09fc1fa8e4f70f042cfe48f26b28d798498d3.zip
almost there : norme + miltiligne
Diffstat (limited to 'src/m_loop.c')
-rw-r--r--src/m_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index f1fc80d..3269fe4 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -44,7 +44,7 @@ uint8_t
/* if (fd == STDIN_FILENO) */
/* m_prompt_psx(1, msh); */
/* gnl = get_next_line(fd, &line); */
- gnl = c_init_tcaps(fd, &line, msh);
+ gnl = c_init_tcaps(fd, &line, 1, msh);
if (line[0] != '\0')
{
line = m_check_multi_backslash(fd, line, msh);