aboutsummaryrefslogtreecommitdiffstats
path: root/src/screen.c
diff options
context:
space:
mode:
authorKalle Wallin <kaw@linux.se>2004-07-12 19:50:36 +0000
committerKalle Wallin <kaw@linux.se>2004-07-12 19:50:36 +0000
commita3d7f579b321e8476599fd246f67b56aaba5400b (patch)
treeab3fb34983311c6d86f7f94c6883b83794a44a7e /src/screen.c
parentac6690f65f65ef8bd823fa6a9fa37ec05afd6acb (diff)
downloadmpd-a3d7f579b321e8476599fd246f67b56aaba5400b.tar.gz
mpd-a3d7f579b321e8476599fd246f67b56aaba5400b.tar.xz
mpd-a3d7f579b321e8476599fd246f67b56aaba5400b.zip
Added configure option --disable-raw-mode
git-svn-id: https://svn.musicpd.org/ncmpc/trunk@1855 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/screen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c
index 7b29f1f1e..c2c1e7fda 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -465,7 +465,9 @@ screen_init(mpdclient_t *c)
/* 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();
/* set cursor invisible */