mirror of
https://github.com/mpv-player/mpv
synced 2025-02-17 21:27:08 +00:00
terminal-unix: Fix initial terminal state.
When mpv is backgrounded initially (via & in the shell), do no longer change terminal settings on startup. This fixes broken local echo after launching a backgrounded mpv.
This commit is contained in:
parent
09e08bfe2e
commit
a09f7a371e
@ -480,7 +480,7 @@ int terminal_init(void)
|
||||
setsigaction(SIGTTIN, SIG_IGN, 0, true);
|
||||
setsigaction(SIGTTOU, SIG_IGN, 0, true);
|
||||
|
||||
do_activate_getch2();
|
||||
getch2_poll();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user