mirror of
https://github.com/GOSTSec/sgminer
synced 2025-02-02 10:04:33 +00:00
Merge pull request #160 from luke-jr/bugfix_realquiet_2
Bugfix: Skip enabling curses, if --real-quiet or listing devices
This commit is contained in:
commit
7f64adc473
@ -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[])
|
||||
|
||||
#ifdef HAVE_CURSES
|
||||
check_winsizes();
|
||||
|
||||
if (opt_realquiet)
|
||||
use_curses = false;
|
||||
#endif
|
||||
|
||||
if (!total_pools) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user