aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vt.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/vt.c b/vt.c
index 1d5a9b93..acde4656 100644
--- a/vt.c
+++ b/vt.c
@@ -776,10 +776,7 @@ action(struct terminal *term, enum action _action, uint8_t c)
switch (c) {
case '\n':
/* LF - line feed */
- if (term->cursor.row == term->scroll_region.end - 1) {
- term_scroll(term, 1);
- } else
- term_cursor_down(term, 1);
+ term_linefeed(term);
break;
case '\r':