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>2002-12-27 08:31:30 +0300
committerChristopher Faylor <me@cgf.cx>2002-12-27 08:31:30 +0300
commit66dcfc4498cbccf5c694c2009179259dc6e5efb1 (patch)
tree7a4f7204fb377063049c7514579e1478a09b243c /winsup/cygwin/fhandler.h
parent3bfed277d69246e7ae67caec77969180d9e51538 (diff)
* fhandler.h (fhandler_tty_master::set_winsize): Declare new function.
* fhandler_console.cc (fhandler_console::send_winch_maybe): If appropriate, call tty master function to handle screen size change. * fhandler_tty.cc (fhandler_tty_master::set_winsize): New function. (fhandler_tty_master::init): Call set_winsize to set initial screen size.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index 43db4442e..f0dde3722 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -948,6 +948,7 @@ class fhandler_tty_master: public fhandler_pty_master
fhandler_tty_master (int unit);
int init (int);
int init_console ();
+ void set_winsize (bool);
void fixup_after_fork (HANDLE parent);
void fixup_after_exec (HANDLE);
};