Cygwin: pty: Fix the behaviour of Ctrl-C in the pseudo console mode.
- When the I/O pipe is switched to the pseudo console side, the behaviour of Ctrl-C was unstable. This rarely happens, however, for example, shell sometimes crashes by Ctrl-C in that situation. Furthermore, Ctrl-C was ignored if output of non-cygwin program is redirected to pipe. This patch fixes these issues.
This commit is contained in:
@ -2187,10 +2187,6 @@ class fhandler_pty_slave: public fhandler_pty_common
|
||||
get_ttyp ()->mask_switch_to_pcon = mask;
|
||||
}
|
||||
void fixup_after_attach (bool native_maybe);
|
||||
pid_t get_pcon_pid (void)
|
||||
{
|
||||
return get_ttyp ()->pcon_pid;
|
||||
}
|
||||
bool is_line_input (void)
|
||||
{
|
||||
return get_ttyp ()->ti.c_lflag & ICANON;
|
||||
|
Reference in New Issue
Block a user