Code

Added configure option --disable-raw-mode
[ncmpc.git] / src / screen.c
index 7b29f1f1e17550844d41f9861c35bd58adb785d8..c2c1e7fdaeff5c69fdbb8fabea8b175592c35e83 100644 (file)
@@ -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 */