X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=selector.cc;h=2dadb5df8b342a63d737c3021a92105eecb3820b;hb=c84d5d59dd658f46089a3877b0195f67e19d65cd;hp=4d86da20bcf39b674ca538ab653e9f5dab9b1c54;hpb=5ff0b55cd6a1c39f3d711036319244e18151d46f;p=selector.git diff --git a/selector.cc b/selector.cc index 4d86da2..2dadb5d 100644 --- a/selector.cc +++ b/selector.cc @@ -791,7 +791,7 @@ int main(int argc, char **argv) { << " -z remove the zsh history line prefix" << endl << " -i invert the order of lines" << endl << " -e start in regexp mode" << endl - << " -a case sensitive" << endl + << " -a start in case sensitive mode" << endl << " -m monochrome mode" << endl << " -q make a flash instead of a beep on an edition error" << endl << " -- all following arguments are filenames" << endl @@ -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);