diff options
author | Salad <water_appreciator@protonmail.com> | 2020-10-21 18:23:04 +0200 |
---|---|---|
committer | Salad <water_appreciator@protonmail.com> | 2020-10-21 18:23:04 +0200 |
commit | a0c2a69d6c79e11c0eb25751d6c246bb164ebc31 (patch) | |
tree | c172bb09ebd52b262141aa4e5fabdbdf5e00e4f3 /src/c_utils.c | |
parent | stuff (diff) | |
download | 42-minishell-a0c2a69d6c79e11c0eb25751d6c246bb164ebc31.tar.gz 42-minishell-a0c2a69d6c79e11c0eb25751d6c246bb164ebc31.tar.bz2 42-minishell-a0c2a69d6c79e11c0eb25751d6c246bb164ebc31.tar.xz 42-minishell-a0c2a69d6c79e11c0eb25751d6c246bb164ebc31.tar.zst 42-minishell-a0c2a69d6c79e11c0eb25751d6c246bb164ebc31.zip |
makeshift
Diffstat (limited to 'src/c_utils.c')
-rw-r--r-- | src/c_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_utils.c b/src/c_utils.c index de4e8d1..f879f34 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -150,7 +150,7 @@ int16_t while (i++ < ft_strlen(msh->ps[tcaps->psx])) tputs(tgetstr("nd", NULL), 1, ft_putchar); ft_printf("%s", line); - return (((tcaps->cpos) != ft_strlen(line)) ? + return ((tcaps->cpos != ft_strlen(line)) ? c_redraw_next(ft_strlen(msh->ps[tcaps->psx]), ft_strlen(line), tcaps) : ft_strlen(line)); } |