login

<     >

2014-12-04 13:00:26 (UTC-02:00)

Marcel Rodrigues <marcelgmr@gmail.com>

Only update view when ready.

diff --git a/rover.c b/rover.c
index ccb58f6..3b05611 100644
--- a/rover.c
+++ b/rover.c
@@ -279,7 +279,7 @@ update_view()
         mvwvline(rover.window, center-(height>>1)+1, COLS-1, RVS_SCROLLBAR, height);
         wcolor_set(rover.window, DEFAULT, NULL);
     }
-    wrefresh(rover.window);
+    wnoutrefresh(rover.window);
     if (rover.marks.nentries) {
         sprintf(STATUS, "%7d)", rover.marks.nentries);
         *strrchr(STATUS, ' ') = '(';
@@ -298,7 +298,7 @@ update_view()
     color_set(RVC_STATUS, NULL);
     mvaddstr(LINES - 1, STATUSPOS, STATUS);
     color_set(DEFAULT, NULL);
-    refresh();
+    doupdate();
 }
 
 /* SIGSEGV handler: clean up curses before exiting. */