Hi On Wed, Jul 24, 2024 at 8:48 AM Michael Tokarev <m...@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