diff --git a/chardev/char-win-stdio.c b/chardev/char-win-stdio.c index eb830eabd95784ae9c86909838d1b106113a4526..1a18999e78ad3e43b7ccbe4d43b349bad99bc21d 100644 --- a/chardev/char-win-stdio.c +++ b/chardev/char-win-stdio.c @@ -190,7 +190,7 @@ static void qemu_chr_open_stdio(Chardev *chr, } } - dwMode |= ENABLE_LINE_INPUT; + dwMode |= ENABLE_LINE_INPUT | ENABLE_VIRTUAL_TERMINAL_INPUT; if (is_console) { /* set the terminal in raw mode */