summaryrefslogtreecommitdiffstats
path: root/src/parser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.c b/src/parser.c
index 5124634..bff3be1 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -2521,6 +2521,7 @@ static void vt100_parser_handle_ris(VT100Screen *vt)
vt100_screen_use_normal_buffer(vt);
vt100_screen_set_scroll_region(
vt, 0, vt->grid->max.row - 1, 0, vt->grid->max.col - 1);
+ vt100_screen_move_to(vt, 0, 0, 0);
vt100_screen_clear_screen(vt);
vt100_screen_save_cursor(vt);
vt100_screen_reset_text_attributes(vt);