mirror of
https://github.com/xmrig/xmrig.git
synced 2026-01-23 06:52:33 -05:00
Less error prone log interface.
This commit is contained in:
@@ -159,7 +159,7 @@ static void print_threads(Config *config)
|
||||
|
||||
static void print_commands(Config *)
|
||||
{
|
||||
if (Log::colors) {
|
||||
if (Log::isColors()) {
|
||||
Log::print(GREEN_BOLD(" * ") WHITE_BOLD("COMMANDS ") MAGENTA_BG(WHITE_BOLD_S "h") WHITE_BOLD("ashrate, ")
|
||||
MAGENTA_BG(WHITE_BOLD_S "p") WHITE_BOLD("ause, ")
|
||||
MAGENTA_BG(WHITE_BOLD_S "r") WHITE_BOLD("esume"));
|
||||
|
||||
Reference in New Issue
Block a user