summaryrefslogtreecommitdiffstats
path: root/src/c_keys.c
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-09-20 13:51:01 +0200
committersalad <fmoenne-@student.le-101.fr>2020-09-20 13:51:01 +0200
commit0a5e031d87dc504e6928bca1b74a6e081c76b870 (patch)
tree1e180c7f755e716083f31feda87f5db338635c44 /src/c_keys.c
parentfull bugged, mais full features (diff)
download42-minishell-0a5e031d87dc504e6928bca1b74a6e081c76b870.tar.gz
42-minishell-0a5e031d87dc504e6928bca1b74a6e081c76b870.tar.bz2
42-minishell-0a5e031d87dc504e6928bca1b74a6e081c76b870.tar.xz
42-minishell-0a5e031d87dc504e6928bca1b74a6e081c76b870.tar.zst
42-minishell-0a5e031d87dc504e6928bca1b74a6e081c76b870.zip
reworking redraw line lets go
Diffstat (limited to '')
-rw-r--r--src/c_keys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/c_keys.c b/src/c_keys.c
index 7874932..f9141d7 100644
--- a/src/c_keys.c
+++ b/src/c_keys.c
@@ -93,7 +93,7 @@ int16_t
tputs(tgetstr("nd", NULL), 1, ft_putchar);
tcaps->cpos--;
}
- if (tcaps->cpos >= 1)
+ else if (tcaps->cpos >= 1)
{
tputs(tgetstr("le", NULL), 1, ft_putchar);
tcaps->cpos--;