diff options
Diffstat (limited to '')
-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 b39e580..b50280d 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -172,13 +172,13 @@ int16_t i = 0; tputs(tgetstr("cr", NULL), 1, ft_putchar); + len = ft_strlen(line); while (i < ft_strlen(msh->ps[0])) { tputs(tgetstr("nd", NULL), 1, ft_putchar); i++; } ret = ft_printf("%s", line) + ft_strlen(msh->ps[0]); - len = ft_strlen(line); if (tcaps->cpos != len) while (--len > tcaps->cpos) tputs(tgetstr("le", NULL), 1, ft_putchar); |