mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 08:42:40 -05:00
Fix color issues.
This commit is contained in:
@@ -80,16 +80,16 @@ private:
|
||||
};
|
||||
|
||||
|
||||
#define RED_BOLD(x) "\e[1;31m" x "\e[0m"
|
||||
#define RED(x) "\e[0;31m" x "\e[0m"
|
||||
#define GREEN_BOLD(x) "\e[1;32m" x "\e[0m"
|
||||
#define GREEN(x) "\e[0;32m" x "\e[0m"
|
||||
#define MAGENTA_BOLD(x) "\e[1;35m" x "\e[0m"
|
||||
#define MAGENTA(x) "\e[0;35m" x "\e[0m"
|
||||
#define CYAN_BOLD(x) "\e[1;36m" x "\e[0m"
|
||||
#define CYAN(x) "\e[0;36m" x "\e[0m"
|
||||
#define WHITE_BOLD(x) "\e[1;37m" x "\e[0m"
|
||||
#define WHITE(x) "\e[0;37m" x "\e[0m"
|
||||
#define RED_BOLD(x) "\x1B[1;31m" x "\x1B[0m"
|
||||
#define RED(x) "\x1B[0;31m" x "\x1B[0m"
|
||||
#define GREEN_BOLD(x) "\x1B[1;32m" x "\x1B[0m"
|
||||
#define GREEN(x) "\x1B[0;32m" x "\x1B[0m"
|
||||
#define MAGENTA_BOLD(x) "\x1B[1;35m" x "\x1B[0m"
|
||||
#define MAGENTA(x) "\x1B[0;35m" x "\x1B[0m"
|
||||
#define CYAN_BOLD(x) "\x1B[1;36m" x "\x1B[0m"
|
||||
#define CYAN(x) "\x1B[0;36m" x "\x1B[0m"
|
||||
#define WHITE_BOLD(x) "\x1B[1;37m" x "\x1B[0m"
|
||||
#define WHITE(x) "\x1B[0;37m" x "\x1B[0m"
|
||||
|
||||
|
||||
#define LOG_ERR(x, ...) Log::i()->message(Log::ERR, x, ##__VA_ARGS__)
|
||||
|
||||
Reference in New Issue
Block a user