* fhandler.h (line_edit_status): Add a new element.

* fhandler_termios.cc (fhandler_termios::line_edit): After accept_input, handle
both potential error condition and pipe full conditions.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Return -1 on error.
(fhandler_pty_master::write): Handle pipe full condition.
This commit is contained in:
Christopher Faylor
2002-12-20 01:38:55 +00:00
parent e9f731caf7
commit 388aa9941b
4 changed files with 25 additions and 6 deletions

View File

@@ -123,7 +123,8 @@ enum line_edit_status
line_edit_signalled = -1,
line_edit_ok = 0,
line_edit_input_done = 1,
line_edit_error = 2
line_edit_error = 2,
line_edit_pipe_full = 3
};
enum bg_check_types