summaryrefslogtreecommitdiffstats
path: root/src/m_loop.c
diff options
context:
space:
mode:
authorSalad <water_appreciator@protonmail.com>2020-09-29 23:09:43 +0200
committerSalad <water_appreciator@protonmail.com>2020-09-29 23:09:43 +0200
commit894e9e2177c3fcf12010b0c0a8ee9e27c684dc00 (patch)
tree25d02c41f83c8b271f7411c225801544d76d7440 /src/m_loop.c
parentpouche yeah yeay yeah (diff)
download42-minishell-894e9e2177c3fcf12010b0c0a8ee9e27c684dc00.tar.gz
42-minishell-894e9e2177c3fcf12010b0c0a8ee9e27c684dc00.tar.bz2
42-minishell-894e9e2177c3fcf12010b0c0a8ee9e27c684dc00.tar.xz
42-minishell-894e9e2177c3fcf12010b0c0a8ee9e27c684dc00.tar.zst
42-minishell-894e9e2177c3fcf12010b0c0a8ee9e27c684dc00.zip
gnl grand remplacment
Diffstat (limited to '')
-rw-r--r--src/m_loop.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/m_loop.c b/src/m_loop.c
index 600758d..d4bc665 100644
--- a/src/m_loop.c
+++ b/src/m_loop.c
@@ -39,12 +39,12 @@ uint8_t
int8_t gnl;
gnl = 1;
- c_init_tcaps(msh);
while (gnl > 0)
{
- if (fd == STDIN_FILENO)
- m_prompt_psx(1, msh);
- gnl = get_next_line(fd, &line);
+ /* if (fd == STDIN_FILENO) */
+ /* m_prompt_psx(1, msh); */
+ /* gnl = get_next_line(fd, &line); */
+ gnl = c_init_tcaps(&line, msh);
if (line[0] != '\0')
{
line = m_check_multi_backslash(fd, line, msh);