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 /winsup/cygwin/fhandler_console.cc | |
parent | f653e4ddc1421ce97381a6772ba724990c1bc309 (diff) | |
download | cygnal-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.tar.gz cygnal-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.tar.bz2 cygnal-6e76b010c370ff6d0d2e5b8a60a542827917fcbb.zip |
* 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.cc | 1 |
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: |