summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/mplayer.c b/mplayer.c
index 60eb7ec511..71b64cfa22 100644
--- a/mplayer.c
+++ b/mplayer.c
@@ -752,10 +752,13 @@ current_module = NULL;
play_next_file:
-if(!use_stdin && !slave_mode){
- getch2_enable(); // prepare stdin for hotkeys...
- inited_flags|=INITED_GETCH2;
-}
+// We can enable getch2 *either* here *or* on a per-file basis, but NOT both!!!
+// Doing it both places causes the saved terminal state to get trashed!!
+// Maybe this can be renabled at a later date if it's useful...
+//if(!use_stdin && !slave_mode){
+// getch2_enable(); // prepare stdin for hotkeys...
+// inited_flags|=INITED_GETCH2;
+//}
#ifdef HAVE_NEW_GUI
if ( use_gui ) {