OSDN Git Service

* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
authorcgf <cgf>
Wed, 26 Jul 2000 13:59:23 +0000 (13:59 +0000)
committercgf <cgf>
Wed, 26 Jul 2000 13:59:23 +0000 (13:59 +0000)
it visible while waiting in WaitForMultipleObjects.

winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_console.cc

index b02a0d3..74187c3 100644 (file)
@@ -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.
index 18809c9..8a4ad30 100644 (file)
@@ -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: