diff options
author | wm4 <wm4@mplayer2.org> | 2012-02-25 15:05:12 +0100 |
---|---|---|
committer | wm4 <wm4@mplayer2.org> | 2012-02-25 16:40:14 +0100 |
commit | c8efb6d5665d3b455ea005da74c51f9e37b1132f (patch) | |
tree | 574d48eccac3430c5d178e8b60499d1a79579ae3 /osdep/mmap-os2.c | |
parent | 3022129d85785fa0095e3bbf8df24988a21b1ee9 (diff) | |
download | mpv-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 'osdep/mmap-os2.c')
0 files changed, 0 insertions, 0 deletions