using the device independent key code, rather than the device dependent
scan code.
+2011-08-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * fhandler_console.cc (fhandler_console::read): Recognize backspace key
+ using the device independent key code, rather than the device dependent
+ scan code.
+
2011-08-18 Christopher Faylor <me.cygwin2011@cgf.cx>
* dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.
dev_state.nModifiers |= 8;
/* Allow Backspace to emit ^? and escape sequences. */
- if (input_rec.Event.KeyEvent.wVirtualScanCode == 14)
+ if (input_rec.Event.KeyEvent.wVirtualKeyCode == VK_BACK)
{
char c = dev_state.backspace_keycode;
nread = 0;