Browse Source

Plain refresh() does not give reliably screen updates so get rid of all uses of it.

nfactor-troky
Con Kolivas 13 years ago
parent
commit
1c211c5f41
  1. 4
      cgminer.c

4
cgminer.c

@ -1327,9 +1327,6 @@ void log_curses(int prio, const char *f, va_list ap) @@ -1327,9 +1327,6 @@ void log_curses(int prio, const char *f, va_list ap)
if (curses_active_locked()) {
if (!opt_loginput || high_prio) {
vw_printw(logwin, f, ap);
if (high_prio)
refresh();
else
wrefresh(logwin);
}
unlock_curses();
@ -1668,7 +1665,6 @@ static void disable_curses(void) @@ -1668,7 +1665,6 @@ static void disable_curses(void)
delwin(statuswin);
delwin(mainwin);
endwin();
refresh();
#ifdef WIN32
// Move the cursor to after curses output.
HANDLE hout = GetStdHandle(STD_OUTPUT_HANDLE);

Loading…
Cancel
Save