Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-12 20:06:50 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-12 20:06:50 +0300
commit697b8c0c32fdd050b91b583500e756c3cf707461 (patch)
tree7b7c753c17065c95a400bf40bef4bddef08886c1
parenta36ee0b6b9b656c99447823ad175839b86b48c7f (diff)
* fhandler_console.cc (fhandler_console::read): Revert 2001-10-23 change to
only honor keydown events.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_console.cc3
2 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index a75b8ddfa..94cde6cf7 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2001-11-12 Christopher Faylor <cgf@redhat.com>
+
+ * fhandler_console.cc (fhandler_console::read): Revert 2001-10-23
+ change to only honor keydown events.
+
2001-11-11 Christopher Faylor <cgf@redhat.com>
* include/cygwin/version.h: Bump version to 1.3.6.
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 504d2457c..3598810cb 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -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 &&