summaryrefslogtreecommitdiffstats
path: root/src/c_utils.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-09-21 15:00:11 +0200
committersalad <fmoenne-@student.le-101.fr>2020-09-21 15:00:11 +0200
commit44feb9e93f6d5f8d074b237b6b8b335c4dc3b235 (patch)
tree71b456afdcf4d1a1bf9e7759f198f6e3200dc64b /src/c_utils.c
parentFINALLY (diff)
download42-minishell-44feb9e93f6d5f8d074b237b6b8b335c4dc3b235.tar.gz
42-minishell-44feb9e93f6d5f8d074b237b6b8b335c4dc3b235.tar.bz2
42-minishell-44feb9e93f6d5f8d074b237b6b8b335c4dc3b235.tar.xz
42-minishell-44feb9e93f6d5f8d074b237b6b8b335c4dc3b235.tar.zst
42-minishell-44feb9e93f6d5f8d074b237b6b8b335c4dc3b235.zip
lets fucking go
Diffstat (limited to 'src/c_utils.c')
-rw-r--r--src/c_utils.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/c_utils.c b/src/c_utils.c
index 2cff50f..96a9c2b 100644
--- a/src/c_utils.c
+++ b/src/c_utils.c
@@ -138,12 +138,9 @@ int16_t
nlines = c_get_line_num(line, tcaps->cpos, ft_strlen(msh->ps[0]), tcaps);
len = ft_strlen(line);
mod = (tcaps->ws.ws_col);
- /* mod -= (nlines > 1) ? 0 : ; */
- /* ft_printf("[%u]", mod); */
tputs(tgetstr("cr", NULL), 1, ft_putchar);
if (((len + ft_strlen(msh->ps[0])) % mod) == 0)
{
- ft_printf("qwe");
tputs(tgetstr("sf", NULL), 1, ft_putchar);
return (1);
}