1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-02-05 03:24:26 +00:00

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

This commit is contained in:
Con Kolivas 2011-07-11 21:22:22 +10:00
parent 78ed386bb4
commit a1ffba823e

5
main.c
View File

@ -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;