aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index e02255bc..4ed34f63 100644
--- a/terminal.c
+++ b/terminal.c
@@ -1887,6 +1887,8 @@ void
term_linefeed(struct terminal *term)
{
term->grid->cur_row->linebreak = true;
+ term->grid->cursor.lcf = false;
+
if (term->grid->cursor.point.row == term->scroll_region.end - 1)
term_scroll(term, 1);
else