aboutsummaryrefslogtreecommitdiff
path: root/console.c
diff options
context:
space:
mode:
Diffstat (limited to 'console.c')
-rw-r--r--console.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/console.c b/console.c
index f039dfcb39..cd30235b35 100644
--- a/console.c
+++ b/console.c
@@ -1086,5 +1086,7 @@ CharDriverState *text_console_init(DisplayState *ds)
s->t_attrib = s->t_attrib_default;
text_console_resize(s);
+ qemu_chr_reset(chr);
+
return chr;
}