Skip to contentSkip to conversation

typo in curses_keys.h

PATCH New Dan Nelson 1 participant 1 message Mar 17, 2008

lore
Share & tools
lore

Dan Nelson

author
#0 lore raw

PATCH 1/1 typo in curses_keys.h

Currently in -curses mode, pressing Ctrl-T sends a ^D to the guest, and pressing Ctrl-D does nothing. This fixes it:

Index: curses_keys.h
===================================================================
RCS file: /sources/qemu/qemu/curses_keys.h,v
retrieving revision 1.1

curses_keys.h +1 -1
diff -u -p -r1.1 curses_keys.h
@@ -198,7 +198,7 @@ int curses2keycode[CURSES_KEYS] = {
 
     [0x001] = 30 | CNTRL, /* Control + a */
     [0x013] = 31 | CNTRL, /* Control + s */
-    [0x014] = 32 | CNTRL, /* Control + d */
+    [0x004] = 32 | CNTRL, /* Control + d */
     [0x006] = 33 | CNTRL, /* Control + f */
     [0x007] = 34 | CNTRL, /* Control + g */
     [0x008] = 35 | CNTRL, /* Control + h */
Signature · 2 lines
	Dan Nelson
	[email protected]