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>2001-11-26 23:20:42 +0300
committerChristopher Faylor <me@cgf.cx>2001-11-26 23:20:42 +0300
commit94c0e197f08936400f004b8aac75928c8ca5ba75 (patch)
tree7099907fdcd26ce713fe7bf4732dd02efa82a012 /winsup/cygwin/fhandler_console.cc
parentc74b8922ae5a204191c76d72055b0c7948cb7cdf (diff)
* Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since adding
an archive doesn't work the way we want it to.
Diffstat (limited to 'winsup/cygwin/fhandler_console.cc')
-rw-r--r--winsup/cygwin/fhandler_console.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc
index 3598810cb..ae3608c11 100644
--- a/winsup/cygwin/fhandler_console.cc
+++ b/winsup/cygwin/fhandler_console.cc
@@ -585,6 +585,11 @@ fhandler_console::open (path_conv *, int flags, mode_t)
cflags |= ENABLE_PROCESSED_INPUT;
SetConsoleMode (get_io_handle (), ENABLE_WINDOW_INPUT | ENABLE_MOUSE_INPUT | cflags);
}
+ if (GetConsoleMode (get_output_handle (), &cflags))
+ {
+ cflags |= ENABLE_PROCESSED_OUTPUT;
+ SetConsoleMode (get_io_handle (), cflags);
+ }
TTYCLEARF (RSTCONS);
set_open_status ();