mirror of
https://github.com/MidnightCommander/mc
synced 2025-01-08 20:41:59 +03:00
* 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>
|
2006-02-23 Pavel Tsekov <ptsekov@gmx.net>
|
||||||
|
|
||||||
* setup.c [USE_NETCODE]: Include fish.h .
|
* setup.c [USE_NETCODE]: Include fish.h .
|
||||||
|
@ -1055,8 +1055,10 @@ static void synchronize (void)
|
|||||||
while (subshell_alive && !subshell_stopped)
|
while (subshell_alive && !subshell_stopped)
|
||||||
sigsuspend (&old_mask);
|
sigsuspend (&old_mask);
|
||||||
|
|
||||||
/* Discard all remaining data from stdin to the subshell */
|
if (subshell_state != ACTIVE) {
|
||||||
tcflush (subshell_pty, TCOFLUSH);
|
/* Discard all remaining data from stdin to the subshell */
|
||||||
|
tcflush (subshell_pty, TCOFLUSH);
|
||||||
|
}
|
||||||
|
|
||||||
subshell_stopped = FALSE;
|
subshell_stopped = FALSE;
|
||||||
kill (subshell_pid, SIGCONT);
|
kill (subshell_pid, SIGCONT);
|
||||||
|
Loading…
Reference in New Issue
Block a user