From 0a5e031d87dc504e6928bca1b74a6e081c76b870 Mon Sep 17 00:00:00 2001
From: salad <fmoenne-@student.le-101.fr>
Date: Sun, 20 Sep 2020 13:51:01 +0200
Subject: reworking redraw line lets go

---
 src/c_keys.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/c_keys.c')

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--;
-- 
cgit v1.2.3