summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_init.c1
-rw-r--r--src/c_utils.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/c_init.c b/src/c_init.c
index dfb97e3..bb6383d 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -72,7 +72,6 @@ int16_t
i = -1;
if (line == NULL)
{
- ft_printf("qweqwe");
if (!(line = ft_calloc(1, sizeof(char))))
return (-1);
}
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);