qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] chardev/char-win-stdio.c: restore old console mode


From: Marc-André Lureau
Subject: Re: [PATCH v2] chardev/char-win-stdio.c: restore old console mode
Date: Wed, 24 Jul 2024 14:25:59 +0400

Hi

On Wed, Jul 24, 2024 at 8:48 AM Michael Tokarev <mjt@tls.msk.ru> wrote:
22.07.2024 12:52, songziming wrote:
> If I use `-serial stdio` on Windows, after QEMU exits, the terminal
> could not handle arrow keys and tab any more. Because stdio backend
> on Windows sets console mode to virtual terminal input when starts,
> but does not restore the old mode when finalize.
>
> This small patch saves the old console mode and set it back.

Is this a stable@ material?

It should be safe, but I don't think it deserves a stable backport: it always had that behaviour before.

--
Marc-André Lureau

reply via email to

[Prev in Thread] Current Thread [Next in Thread]