summaryrefslogtreecommitdiffstats
path: root/sub
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2012-02-25 15:05:12 +0100
committerwm4 <wm4@mplayer2.org>2012-02-25 16:40:14 +0100
commitc8efb6d5665d3b455ea005da74c51f9e37b1132f (patch)
tree574d48eccac3430c5d178e8b60499d1a79579ae3 /sub
parent3022129d85785fa0095e3bbf8df24988a21b1ee9 (diff)
downloadmpv-c8efb6d5665d3b455ea005da74c51f9e37b1132f.tar.bz2
mpv-c8efb6d5665d3b455ea005da74c51f9e37b1132f.tar.xz
input: restore terminal attributes after resume
Install a signal handler on SIGCONT, and restore the terminal attributes with tcsetattr() if it happens. This is needed with some shells (such as tcsh) that don't restore the terminal attributes set by mplayer. Without this, terminal I/O doesn't work as intended after resume with these shells. Fixes #155.
Diffstat (limited to 'sub')
0 files changed, 0 insertions, 0 deletions