device: 0.704 graphic: 0.691 performance: 0.654 PID: 0.611 semantic: 0.545 permissions: 0.545 vnc: 0.525 user-level: 0.510 architecture: 0.508 VMM: 0.506 i386: 0.467 boot: 0.456 mistranslation: 0.453 ppc: 0.451 network: 0.450 risc-v: 0.435 files: 0.428 arm: 0.395 socket: 0.395 debug: 0.386 peripherals: 0.376 TCG: 0.368 kernel: 0.360 hypervisor: 0.340 register: 0.320 KVM: 0.313 virtual: 0.299 x86: 0.213 assembly: 0.152 -display curses only recognizes escape characters if pressed very quickly Description of problem: The system start and runs perfectly fine, but when I try to exit the escape commands does not seem to work. I have tried all the ones from here: https://www.qemu.org/docs/master/system/keys.html https://www.qemu.org/docs/master/system/mux-chardev.html When using the graphical display, the escape characters works as expected but when using -display curses, they do not. Steps to reproduce: 1. Start qemu with the command provided 2. Try to exit using ctrl + x a - Not working 3. Try to exit using alt + 2 - Not working The same issues occurs when running qemu on a Linux machine (Ubunt) via Visual Studio Code / ssh. I'm guessing this is a macOS specific issue or maybe something to do with my Locale (sv-SE). Additional information: Linux 0.01 build: https://github.com/mariuz/linux-0.01 **Tests using showkey** Alt + 2 from mobile ssh client (Terminus) -> Ubuntu machine ``` ^[2 27 0033 0x1b 50 0062 0x32 ``` Option + 2 from macOS Terminal + ssh -> Ubuntu machine ``` @ 64 0100 0x40 ``` Esc + 2 from macOS Terminal + ssh -> Ubuntu machine ``` ^[ 27 0033 0x1b 2 50 0062 0x32 ``` **Update** It seems to work if I press ESC + 2 at exactly the same time.