mirror of
https://github.com/reactos/wine.git
synced 2024-11-29 14:40:56 +00:00
Handle backspace correctly.
This commit is contained in:
parent
318f4cefd2
commit
5d6d5014fa
@ -106,7 +106,7 @@ CONSOLE_string_to_IR( HANDLE hConsoleInput,unsigned char *buf,int len) {
|
||||
);
|
||||
ir.Event.KeyEvent.uChar.AsciiChar = inchar;
|
||||
|
||||
if (inchar==127) { /* backspace */
|
||||
if ((inchar==127)||(inchar=='\b')) { /* backspace */
|
||||
ir.Event.KeyEvent.uChar.AsciiChar = '\b'; /* FIXME: hmm */
|
||||
ir.Event.KeyEvent.wVirtualScanCode = 0x0e;
|
||||
ir.Event.KeyEvent.wVirtualKeyCode = VK_BACK;
|
||||
|
Loading…
Reference in New Issue
Block a user