diff options
author | Christopher Faylor <me@cgf.cx> | 2000-07-26 13:59:23 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-07-26 13:59:23 +0000 |
commit | 6e76b010c370ff6d0d2e5b8a60a542827917fcbb (patch) | |
tree | ec79769c5180f878363f16d2cee3931cd512aec4 | |
parent | f653e4ddc1421ce97381a6772ba724990c1bc309 (diff) | |
download | newlib-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.zip newlib-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.tar.gz newlib-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.tar.bz2 |
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/fhandler_console.cc | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index b02a0d3..74187c3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2000-07-26 DJ Delorie <dj@cygnus.com> + + * fhandler_console.cc (fhandler_console::read): Explicitly set cursor + to make it visible while waiting in WaitForMultipleObjects. + Wed Jul 26 10:59:00 2000 Corinna Vinschen <corinna@vinschen.de> * passwd.cc: Change name of passwd_in_memory_p to passwd_state. diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 18809c9..8a4ad30 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -145,6 +145,7 @@ fhandler_console::read (void *pv, size_t buflen) if ((bgres = bg_check (SIGTTIN)) <= 0) return bgres; + cursor_rel (0,0); /* to make cursor appear on the screen immediately */ switch (WaitForMultipleObjects (nwait, w4, FALSE, INFINITE)) { case WAIT_OBJECT_0: |