summaryrefslogtreecommitdiffstats
path: root/src/c_init.c
diff options
context:
space:
mode:
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);