Browse Source

Two redraws in a row cause a crash in old libncurses so just do one redraw using the main window.

nfactor-troky
Con Kolivas 14 years ago
parent
commit
1aadfc580b
  1. 3
      main.c

3
main.c

@ -3239,8 +3239,7 @@ static void *watchdog_thread(void *userdata)
pthread_mutex_lock(&curses_lock); pthread_mutex_lock(&curses_lock);
for (i = 0; i < mining_threads; i++) for (i = 0; i < mining_threads; i++)
curses_print_status(i); curses_print_status(i);
redrawwin(logwin); redrawwin(mainwin);
redrawwin(statuswin);
pthread_mutex_unlock(&curses_lock); pthread_mutex_unlock(&curses_lock);
} }

Loading…
Cancel
Save