summaryrefslogtreecommitdiffstats
path: root/src/c_init.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_init.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_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_init.c b/src/c_init.c
index a196708..2992789 100644
--- a/src/c_init.c
+++ b/src/c_init.c
@@ -124,6 +124,7 @@ int16_t
if (!tgetent(NULL, term))
return (-1);
tcaps.cpos = 0;
+ tcaps.lpos = 0;
c_set_term_raw(1);
c_get_struct(1, &tcaps);
c_init_keys(&tcaps);