From eef52a625c1676946b0dddfe211ebfbe62ff81b1 Mon Sep 17 00:00:00 2001 From: salad Date: Sun, 20 Sep 2020 14:55:03 +0200 Subject: ffs --- src/c_utils.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/c_utils.c') diff --git a/src/c_utils.c b/src/c_utils.c index d5d818a..56cfbaa 100644 --- a/src/c_utils.c +++ b/src/c_utils.c @@ -139,9 +139,11 @@ int16_t tputs(tgetstr("cr", NULL), 1, ft_putchar); if (nlines > 1) { - tputs(tgetstr("sf", NULL), 1, ft_putchar); - tputs(tgetstr("up", NULL), 1, ft_putchar); + ft_printf("qwe"); + /* if (tcaps->lpos > 1) */ + tputs(tgetstr("up", NULL), 1, ft_putchar); tputs(tgetstr("up", NULL), 1, ft_putchar); + tputs(tgetstr("sf", NULL), 1, ft_putchar); } while (i < ft_strlen(msh->ps[0])) { @@ -152,5 +154,5 @@ int16_t if (tcaps->cpos != len) while (--len > tcaps->cpos) tputs(tgetstr("le", NULL), 1, ft_putchar); - return (ret); + return (i); } -- cgit v1.2.3