mirror of
https://github.com/GOSTSec/sgminer
synced 2025-09-12 22:21:56 +00:00
Refresh the display on every commit to applog since detecting bottom of the screen may be unreliable.
This commit is contained in:
parent
78ed386bb4
commit
a1ffba823e
5
main.c
5
main.c
@ -607,10 +607,7 @@ void log_curses(const char *f, va_list ap)
|
|||||||
|
|
||||||
/* Scroll log output downwards */
|
/* Scroll log output downwards */
|
||||||
getmaxyx(mainwin, maxy, x);
|
getmaxyx(mainwin, maxy, x);
|
||||||
if (logcursor >= maxy - 1)
|
refresh_display();
|
||||||
refresh_display();
|
|
||||||
else
|
|
||||||
refresh();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool submit_fail = false;
|
static bool submit_fail = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user