* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to

only honor keydown events.
This commit is contained in:
Christopher Faylor
2001-11-12 17:06:50 +00:00
parent a36ee0b6b9
commit 697b8c0c32
2 changed files with 5 additions and 3 deletions

View File

@@ -259,9 +259,6 @@ fhandler_console::read (void *pv, size_t buflen)
#define virtual_key_code (input_rec.Event.KeyEvent.wVirtualKeyCode)
#define control_key_state (input_rec.Event.KeyEvent.dwControlKeyState)
if (!input_rec.Event.KeyEvent.bKeyDown)
continue;
#ifdef DEBUGGING
/* allow manual switching to/from raw mode via ctrl-alt-scrolllock */
if (input_rec.Event.KeyEvent.bKeyDown &&