* 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.
This commit is contained in:
@@ -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);
|
||||
};
|
||||
|
Reference in New Issue
Block a user