summaryrefslogtreecommitdiffstats
path: root/src/c_utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/c_utils.c')
-rw-r--r--src/c_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/c_utils.c b/src/c_utils.c
index 834f192..24545f3 100644
--- a/src/c_utils.c
+++ b/src/c_utils.c
@@ -176,5 +176,6 @@ int16_t
while (--len > tcaps->cpos)
tputs(tgetstr("le", NULL), 1, ft_putchar);
}
+ tcaps->nlines = c_get_line_num(line, tcaps->cpos, ft_strlen(msh->ps[0]), tcaps);
return (ret);
}