mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-30 19:10:36 +08:00
* fhandler_console.cc (fhandler_console::read): Recognize backspace key
using the device independent key code, rather than the device dependent scan code.
This commit is contained in:
parent
17e1361aa3
commit
aeeaae457b
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -443,7 +443,7 @@ restart:
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user