]> git.proxmox.com Git - mirror_qemu.git/blobdiff - ui/curses_keys.h
curses: Fix control-{@[\]^_} and ESC
[mirror_qemu.git] / ui / curses_keys.h
index 1decd1119d9ee436eb8239fd4059fd3385401a60..c0d5eb452fa4922dc4d10f5237607239c50ab604 100644 (file)
@@ -55,6 +55,7 @@ static const int curses2keysym[CURSES_KEYS] = {
     [0x7f] = KEY_BACKSPACE,
     ['\r'] = KEY_ENTER,
     ['\n'] = KEY_ENTER,
+    [27] = 27,
     [KEY_BTAB] = '\t' | KEYSYM_SHIFT,
 };