Browse Source

Merge pull request #160 from luke-jr/bugfix_realquiet_2

Bugfix: Skip enabling curses, if --real-quiet or listing devices
nfactor-troky
Con Kolivas 13 years ago
parent
commit
7f64adc473
  1. 6
      cgminer.c

6
cgminer.c

@ -4458,6 +4458,9 @@ int main (int argc, char *argv[]) @@ -4458,6 +4458,9 @@ int main (int argc, char *argv[])
}
#ifdef HAVE_CURSES
if (opt_realquiet || devices_enabled == -1)
use_curses = false;
if (use_curses)
enable_curses();
#endif
@ -4566,9 +4569,6 @@ int main (int argc, char *argv[]) @@ -4566,9 +4569,6 @@ int main (int argc, char *argv[])
#ifdef HAVE_CURSES
check_winsizes();
if (opt_realquiet)
use_curses = false;
#endif
if (!total_pools) {

Loading…
Cancel
Save