Added cbreak and intrflush into ncurses initialization.
[selector.git] / selector.cc
index 4d86da2..739f6f8 100644 (file)
@@ -890,8 +890,10 @@ int main(int argc, char **argv) {
   // Here we start to display with curse
 
   initscr();
-
+  cbreak();
   noecho();
+  // nonl();
+  intrflush(stdscr, FALSE);
 
   // So that the arrow keys work
   keypad(stdscr, TRUE);