Commit 50a8772
committed
Cygwin: pty: Clear discard_input flag on master write()
Currently, the first transfer_input() after Ctrl-C does not work
because discard_input flag remains asserted. This can cause loosing
typeahead input for non-cygwin app after Ctrl-C. With this patch,
the discard_input flag is cleared on master write() because the
input is new valid input after discarding input.
Fixes: 4e16e57 ("Cygwin: pty: Discard input already accepted on interrupt.")
Signed-off-by: Takashi Yano <takashi.yano@nifty.ne.jp>
Reviewed-by: Corinna Vinschen <corinna@vinschen.de>1 parent 1bddcff commit 50a8772
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2149 | 2149 | | |
2150 | 2150 | | |
2151 | 2151 | | |
| 2152 | + | |
| 2153 | + | |
2152 | 2154 | | |
2153 | 2155 | | |
2154 | 2156 | | |
| |||
0 commit comments