* fhandler_console.cc (fhandler_console::read): Detect extended keycode

information for Windows 9x so that function keys will work correctly.
This commit is contained in:
Christopher Faylor 2000-04-24 21:41:11 +00:00
parent 046069e449
commit 698c627424
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Apr 24 17:38:25 2000 Thorsten Otto <cgf@cygnus.com>
* fhandler_console.cc (fhandler_console::read): Detect extended keycode
information for Windows 9x so that function keys will work correctly.
2000-04-24 Vadim Egorov <egorovv@mailandnews.com>
* net.cc (cygwin_inet_network): new function.

View File

@ -179,7 +179,7 @@ fhandler_console::read (void *pv, size_t buflen)
!input_rec.Event.KeyEvent.bKeyDown)
continue;
if (ich == 0) /* arrow/function keys */
if (ich == 0 || (ich & 0xff) == 0xe0) /* arrow/function keys */
{
toadd = get_nonascii_key (input_rec);
if (!toadd)