diff options
Diffstat (limited to '')
-rw-r--r-- | src/m_loop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_loop.c b/src/m_loop.c index 84efddf..2521204 100644 --- a/src/m_loop.c +++ b/src/m_loop.c @@ -65,7 +65,7 @@ void while (gnl > 0 && ((!(quote = ft_strrchr(buf, '\"'))) && (!(quote = ft_strrchr(buf, '\''))))) { - m_cont_prompt(); + m_prompt_psx(2, msh); gnl = get_next_line(STDIN_FILENO, &line); buf = strjoin_m(buf, line, 0); ft_memdel((void*)&line); @@ -92,7 +92,7 @@ uint8_t while (gnl > 0) { if (fd == STDIN_FILENO) - m_prompt(msh); + m_prompt_psx(1, msh); gnl = get_next_line(fd, &line); if (line[0] != '\0') { |