diff options
| author | Zhang Huasen <huasenzhang@foxmail.com> | 2023-06-15 18:35:00 +0800 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2023-06-27 17:08:56 +0200 |
| commit | 1e0c544673f43cb7ed97020cb9b3b1a915811bac (patch) | |
| tree | c845630e2cda7799dfd75012e853172453d13033 /hw/display/virtio-gpu.c | |
| parent | b097b80bc919fca5f45663c20722e57792a093ea (diff) | |
| download | focaccia-qemu-1e0c544673f43cb7ed97020cb9b3b1a915811bac.tar.gz focaccia-qemu-1e0c544673f43cb7ed97020cb9b3b1a915811bac.zip | |
chardev/char-win-stdio: Support VT sequences on Windows 11 host
If the monitor or the serial port use STDIO as backend on Windows 11 host, e.g. -nographic options is used, the monitor or the guest Linux do not response to arrow keys. When Windows creates a console, ENABLE_VIRTUAL_PROCESS_INPUT is disabled by default. Arrow keys cannot be retrieved by ReadFile or ReadConsoleInput functions. Add ENABLE_VIRTUAL_PROCESS_INPUT to the flag which is passed to SetConsoleMode, when opening stdio console. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1674 Signed-off-by: Zhang Huasen <huasenzhang@foxmail.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <tencent_8DA57B405D427A560FD40F8FB0C0B1ADDE09@qq.com>
Diffstat (limited to 'hw/display/virtio-gpu.c')
0 files changed, 0 insertions, 0 deletions