No need to use pseudo-cbreak mode now that we use pipes when stdout is
not a tty. Instead, check whether stdin is a tty and if not, delay setting the tty to raw mode until the command tries to access it itself (and receives SIGTTIN or SIGTTOU).
This commit is contained in:
@@ -178,7 +178,7 @@ void script_setup(uid_t);
|
||||
int term_cbreak(int);
|
||||
int term_copy(int, int);
|
||||
int term_noecho(int);
|
||||
int term_raw(int, int, int);
|
||||
int term_raw(int, int);
|
||||
int term_restore(int, int);
|
||||
|
||||
/* fmt_string.h */
|
||||
|
Reference in New Issue
Block a user