aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-11-12 17:06:50 +0000
committerChristopher Faylor <me@cgf.cx>2001-11-12 17:06:50 +0000
commit697b8c0c32fdd050b91b583500e756c3cf707461 (patch)
tree7b7c753c17065c95a400bf40bef4bddef08886c1
parenta36ee0b6b9b656c99447823ad175839b86b48c7f (diff)
downloadnewlib-697b8c0c32fdd050b91b583500e756c3cf707461.zip
newlib-697b8c0c32fdd050b91b583500e756c3cf707461.tar.gz
newlib-697b8c0c32fdd050b91b583500e756c3cf707461.tar.bz2
* 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 a75b8dd..94cde6c 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 504d245..3598810 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 &&