From e5dd88116a080a254c30a8949ddc0b44063e719b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 4 Aug 2000 01:33:33 +0000 Subject: [PATCH] * select.cc (fhandler_console::select_read): Call set_cursor_maybe since select may block and cursor may not be visible. * select.cc (fhandler_console::select_write): Ditto. * select.cc (fhandler_console::select_except): Ditto. --- winsup/cygwin/ChangeLog | 7 +++++++ winsup/cygwin/select.cc | 3 +++ 2 files changed, 10 insertions(+) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index f37281929..505d9dddf 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +Thu Aug 3 20:44:39 2000 Christopher Faylor + + * select.cc (fhandler_console::select_read): Call set_cursor_maybe + since select may block and cursor may not be visible. + * select.cc (fhandler_console::select_write): Ditto. + * select.cc (fhandler_console::select_except): Ditto. + Thu Aug 3 09:01:14 2000 Christopher Faylor * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Set diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index 90302179f..db87643f4 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -661,6 +661,7 @@ fhandler_console::select_read (select_record *s) s->startup = no_startup; s->poll = poll_console; s->verify = poll_console; + set_cursor_maybe (); } s->h = get_handle (); @@ -677,6 +678,7 @@ fhandler_console::select_write (select_record *s) s->startup = no_startup; s->poll = poll_console; s->verify = no_verify; + set_cursor_maybe (); } s->write_selected = TRUE; @@ -693,6 +695,7 @@ fhandler_console::select_except (select_record *s) s->startup = no_startup; s->poll = poll_console; s->verify = no_verify; + set_cursor_maybe (); } s->except_selected = TRUE;