mirror of https://github.com/MidnightCommander/mc
* src/subshell.c (synchronize): Do not discard user input if the panels are
off.
This commit is contained in:
parent
28157ca499
commit
389df305eb
|
@ -1,3 +1,8 @@
|
|||
2006-02-24 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* subshell.c (synchronize): Do not discard user input if the panels
|
||||
are off.
|
||||
|
||||
2006-02-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||
|
||||
* setup.c [USE_NETCODE]: Include fish.h .
|
||||
|
|
|
@ -1055,8 +1055,10 @@ static void synchronize (void)
|
|||
while (subshell_alive && !subshell_stopped)
|
||||
sigsuspend (&old_mask);
|
||||
|
||||
/* Discard all remaining data from stdin to the subshell */
|
||||
tcflush (subshell_pty, TCOFLUSH);
|
||||
if (subshell_state != ACTIVE) {
|
||||
/* Discard all remaining data from stdin to the subshell */
|
||||
tcflush (subshell_pty, TCOFLUSH);
|
||||
}
|
||||
|
||||
subshell_stopped = FALSE;
|
||||
kill (subshell_pid, SIGCONT);
|
||||
|
|
Loading…
Reference in New Issue