diff options
author | Christopher Faylor <me@cgf.cx> | 2002-12-27 03:50:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-12-27 03:50:29 +0000 |
commit | 46b73ef192bc8e1ef3db88d1da99dfbe28bb371b (patch) | |
tree | 0df82ef446efc511b01e4cae86426ef1050f7115 /winsup/cygwin/fhandler.h | |
parent | 4a5c645e6280415fc3fab8d0ae8d1b2da129ee6c (diff) | |
download | cygnal-46b73ef192bc8e1ef3db88d1da99dfbe28bb371b.tar.gz cygnal-46b73ef192bc8e1ef3db88d1da99dfbe28bb371b.tar.bz2 cygnal-46b73ef192bc8e1ef3db88d1da99dfbe28bb371b.zip |
* fhandler.h (fhandler_termios::line_edit): Replace third argument with
passed-in termios struct.
* fhandler_console.cc (fhandler_console::read): Prior to loop, make a copy of
current termios for passing to line_edit prior so that all characters are
processed consistently.
* fhandler_tty.cc (fhandler_pty_master::write): Ditto.
(process_input): Make a copy of curent termios prior to read for use in
subsequent line_edit.
* fhandler_termios.cc (fhandler_termios::line_edit): Replace third parameter
with passed-in termios struct and use it throughout rather than the data from
the current fhandler_termios class.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index c38789b97..43db4442e 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -705,7 +705,7 @@ class fhandler_termios: public fhandler_base set_need_fork_fixup (); } HANDLE& get_output_handle () { return output_handle; } - line_edit_status line_edit (const char *rptr, int nread, int always_accept = 0); + line_edit_status line_edit (const char *rptr, int nread, termios&); void set_output_handle (HANDLE h) { output_handle = h; } void tcinit (tty_min *this_tc, int force = FALSE); virtual int is_tty () { return 1; } |