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 /winsup/cygwin/fhandler_console.cc
parentf653e4ddc1421ce97381a6772ba724990c1bc309 (diff)
* fhandler_console.cc (fhandler_console::read): Explicitly set cursor to make
it visible while waiting in WaitForMultipleObjects.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc1
1 files changed, 1 insertions, 0 deletions
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: