summaryrefslogtreecommitdiff
path: root/sys/dev/cons/cons_ansi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cons/cons_ansi.c')
-rw-r--r--sys/dev/cons/cons_ansi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/dev/cons/cons_ansi.c b/sys/dev/cons/cons_ansi.c
index 4403f9c..ab1f22a 100644
--- a/sys/dev/cons/cons_ansi.c
+++ b/sys/dev/cons/cons_ansi.c
@@ -90,8 +90,7 @@ ansi_feed(struct ansi_state *statep, char c)
return c;
case 2:
if (c == 'H') {
- cons_reset_cursor(&g_root_scr);
- ansi_reset(statep);
+ cons_clear_scr(&g_root_scr, g_root_scr.bg);
return ANSI_UPDATE_CURSOR;
}
break;