Skip to content
Snippets Groups Projects
Commit 5d6d5014 authored by Ove Kåven's avatar Ove Kåven Committed by Alexandre Julliard
Browse files

Handle backspace correctly.

parent 318f4cef
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment