Commit a1ffba823e919585d3773db36d353a24d7c27fe3

Con Kolivas 2011-07-11T21:22:22

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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/main.c b/main.c
index 91a2672..00e3369 100644
--- a/main.c
+++ b/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;