From: Francois Fleuret Date: Thu, 18 Jun 2009 19:38:48 +0000 (+0200) Subject: Added cbreak and intrflush into ncurses initialization. X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ab9a82ad64fc9728d898217f6e661166f5632ed;p=selector.git Added cbreak and intrflush into ncurses initialization. --- diff --git a/REVISION_NUMBER b/REVISION_NUMBER index 492dff0..7f1ddd5 100644 --- a/REVISION_NUMBER +++ b/REVISION_NUMBER @@ -1 +1 @@ -152 +153 diff --git a/selector.cc b/selector.cc index 4d86da2..739f6f8 100644 --- a/selector.cc +++ b/selector.cc @@ -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);