diff --git a/terminal.c b/terminal.c index 87f4a894..7bcbaf90 100644 --- a/terminal.c +++ b/terminal.c @@ -2640,6 +2640,7 @@ void term_out(Terminal *term) term->curs.y++; term->curs.x = 0; term->wrapnext = FALSE; + cline = scrlineptr(term->curs.y); } if (term->insert && width > 0) insch(term, width);