Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-07-26 17:59:23 +0400
committerChristopher Faylor <me@cgf.cx>2000-07-26 17:59:23 +0400
commit6e76b010c370ff6d0d2e5b8a60a542827917fcbb (patch)
treeec79769c5180f878363f16d2cee3931cd512aec4
parentf653e4ddc1421ce97381a6772ba724990c1bc309 (diff)
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/fhandler_console.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index b02a0d3f9..74187c329 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 18809c922..8a4ad304b 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: