From e4e0e3f0049a756f6da882a986cb7ad58377a890 Mon Sep 17 00:00:00 2001 From: Francois Fleuret Date: Thu, 12 Mar 2009 20:15:42 +0100 Subject: [PATCH] Automatic commit --- selector.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/selector.cc b/selector.cc index 8616f1c..fbc4891 100644 --- a/selector.cc +++ b/selector.cc @@ -471,6 +471,7 @@ int main(int argc, char **argv) { update_screen(¤t_line, &temporary_line, motion, nb_lines, lines, patterns, no_blink); + } while(key != '\n' && key != KEY_ENTER && key != ''); echo(); @@ -518,8 +519,5 @@ int main(int argc, char **argv) { delete[] lines[l]; } - curs_set(1); - endwin(); - exit(0); } -- 2.39.5