projects
/
selector.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Added cbreak and intrflush into ncurses initialization.
[selector.git]
/
selector.cc
diff --git
a/selector.cc
b/selector.cc
index
4d86da2
..
739f6f8
100644
(file)
--- 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);