aboutsummaryrefslogtreecommitdiffstats
path: root/src/command.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-06 14:31:33 +0200
committerMax Kellermann <max@duempel.org>2008-10-06 14:31:33 +0200
commit07df83b7b074106ae391187feffba570748e990f (patch)
tree6b5a4a0d1baf62eb38a3d1f85f1fa6773072c544 /src/command.c
parent64fd42870e71609d7493e6b0c161058a5db55243 (diff)
downloadmpd-07df83b7b074106ae391187feffba570748e990f.tar.gz
mpd-07df83b7b074106ae391187feffba570748e990f.tar.xz
mpd-07df83b7b074106ae391187feffba570748e990f.zip
disable ncurses raw mode
We're better off doing our own signal handling, instead of switching ncurses to raw mode. Anyway, it was commented out and didn't work...
Diffstat (limited to '')
-rw-r--r--src/command.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/command.c b/src/command.c
index b107ba3f0..b18a98b14 100644
--- a/src/command.c
+++ b/src/command.c
@@ -398,15 +398,6 @@ my_wgetch(WINDOW *w)
c = wgetch(w);
-#ifdef ENABLE_RAW_MODE
- /* handle SIGSTOP (Ctrl-Z) */
- if (c == 26 || c == 407)
- sigstop();
- /* handle SIGINT (Ctrl-C) */
- if (c == 3)
- kill(getpid(), SIGTERM);
-#endif
-
return c;
}