Cygwin: pty: Make tty setting NOFLSH work.
- With this patch, "stty noflsh" gets working in pty.
This commit is contained in:
parent
9a7e6073d1
commit
1c70319bda
|
@ -332,7 +332,8 @@ fhandler_termios::line_edit (const char *rptr, size_t nread, termios& ti,
|
|||
goto not_a_sig;
|
||||
|
||||
termios_printf ("got interrupt %d, sending signal %d", c, sig);
|
||||
eat_readahead (-1);
|
||||
if (!(ti.c_lflag & NOFLSH))
|
||||
eat_readahead (-1);
|
||||
release_input_mutex_if_necessary ();
|
||||
tc ()->kill_pgrp (sig);
|
||||
acquire_input_mutex_if_necessary (INFINITE);
|
||||
|
|
Loading…
Reference in New Issue