aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/command.c9
-rw-r--r--src/main.c4
-rw-r--r--src/ncu.c5
3 files changed, 0 insertions, 18 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;
}
diff --git a/src/main.c b/src/main.c
index da9f55389..5f55c490d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -139,10 +139,6 @@ catch_sigint(mpd_unused int sig)
static void
catch_sigcont(mpd_unused int sig)
{
-#ifdef ENABLE_RAW_MODE
- reset_prog_mode(); /* restore tty modes */
- refresh();
-#endif
screen_resize(mpd);
}
diff --git a/src/ncu.c b/src/ncu.c
index 936e78aa5..1ade90b40 100644
--- a/src/ncu.c
+++ b/src/ncu.c
@@ -42,11 +42,6 @@ ncu_init(void)
/* tell curses not to do NL->CR/NL on output */
nonl();
- /* use raw mode (ignore interrupt,quit,suspend, and flow control ) */
-#ifdef ENABLE_RAW_MODE
- // raw();
-#endif
-
/* don't echo input */
noecho();