diff options
author | Egor Duda <deo@logos-m.ru> | 2001-03-18 18:05:01 +0000 |
---|---|---|
committer | Egor Duda <deo@logos-m.ru> | 2001-03-18 18:05:01 +0000 |
commit | 5e8e21d938b5410b008f20d50d8d0fb9ba6df66b (patch) | |
tree | 5d5ee41620a03a0049e82ceb0877685c09d29da1 /winsup/cygwin/tty.h | |
parent | ca1cea7ed3a1befe70787e8a7a3bfd81f9cb5899 (diff) | |
download | newlib-5e8e21d938b5410b008f20d50d8d0fb9ba6df66b.zip newlib-5e8e21d938b5410b008f20d50d8d0fb9ba6df66b.tar.gz newlib-5e8e21d938b5410b008f20d50d8d0fb9ba6df66b.tar.bz2 |
* fhandler.h (fhandler_tty_slave): Declare new methods.
* select.cc (fhandler_tty_slave::select_read): New method.
* select.cc (fhandler_tty_slave::ready_for_read): Ditto.
* select.cc (verify_tty_slave): New function.
* fhandler_termios.cc (fhandler_termios::line_edit): Empty input
buffer on signal.
* fhandler_tty.cc (fhandler_tty_slave::read): Check for input data
after reading from pipe. Reset event if input pipe is empty.
* tty.h (class tty): Allow creating events with manual reset.
* tty.cc (tty::get_event): Use manual_reset flag.
* tty.cc (tty::common_init): Create input_available_event with
manual reset.
Diffstat (limited to 'winsup/cygwin/tty.h')
-rw-r--r-- | winsup/cygwin/tty.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/tty.h b/winsup/cygwin/tty.h index 36f7ae1..43a82e0 100644 --- a/winsup/cygwin/tty.h +++ b/winsup/cygwin/tty.h @@ -86,7 +86,7 @@ class fhandler_pty_master; class tty: public tty_min { - HANDLE get_event (const char *fmt, BOOL inherit); + HANDLE get_event (const char *fmt, BOOL inherit, BOOL manual_reset = FALSE); public: HWND hwnd; /* Console window handle tty belongs to */ |