From 9ab9a82ad64fc9728d898217f6e661166f5632ed Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 18 Jun 2009 21:38:48 +0200 Subject: [PATCH] Added cbreak and intrflush into ncurses initialization. --- REVISION_NUMBER | 2 +- selector.cc | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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); -- 2.39.5