* fhandler.h (fhandler_console::send_winch_maybe): New method.

* fhandler_console.cc (set_console_state_for_spawn): Remove if 0'ed code.
(fhandler_console::send_winch_maybe): Define new method.
(fhandler_console::read): Use send_winch_maybe where appropriate.
(fhandler_console::init): Just call all tcsetattr rather than output_tcsetattr.
* select.cc (peek_console): Reorganize so that send_winch_maybe is called for
everything but keyboard input.
This commit is contained in:
Christopher Faylor
2002-08-19 04:43:58 +00:00
parent a94b60cea4
commit c060edba34
4 changed files with 45 additions and 25 deletions

View File

@ -826,6 +826,7 @@ class fhandler_console: public fhandler_termios
void set_close_on_exec (int val);
void fixup_after_fork (HANDLE parent);
void set_input_state ();
void send_winch_maybe ();
};
class fhandler_tty_common: public fhandler_termios