aboutsummaryrefslogtreecommitdiff
path: root/vt.c
diff options
context:
space:
mode:
Diffstat (limited to 'vt.c')
-rw-r--r--vt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vt.c b/vt.c
index 06445e4c..3cdd5b24 100644
--- a/vt.c
+++ b/vt.c
@@ -128,7 +128,7 @@ action_execute(struct terminal *term, uint8_t c)
case '\r':
/* FF - form feed */
- term_cursor_left(term, term->cursor.point.col);
+ term_formfeed(term);
break;
case '\b':
@@ -361,8 +361,8 @@ action_esc_dispatch(struct terminal *term, uint8_t final)
break;
case 'E':
+ term_formfeed(term);
term_linefeed(term);
- term_cursor_left(term, term->cursor.point.col);
break;
case 'H':