Browse Source

Refresh the display on every commit to applog since detecting bottom of the screen may be unreliable.

Con Kolivas 14 years ago
parent
commit
a1ffba823e
1 changed files with 1 additions and 4 deletions
  1. 1 4
      main.c

+ 1 - 4
main.c

@@ -607,10 +607,7 @@ void log_curses(const char *f, va_list ap)
 
 	/* Scroll log output downwards */
 	getmaxyx(mainwin, maxy, x);
-	if (logcursor >= maxy - 1)
-		refresh_display();
-	else
-		refresh();
+	refresh_display();
 }
 
 static bool submit_fail = false;