19 lines
442 B
C
19 lines
442 B
C
// ANSI color escape code definitions.
|
|
|
|
#ifdef BBS_COLOR
|
|
#define ANSI_RED "\x1b[91m"
|
|
#define ANSI_GREEN "\x1b[92m"
|
|
#define ANSI_YELLOW "\x1b[93m"
|
|
#define ANSI_BLUE "\x1b[94m"
|
|
#define ANSI_MAGENTA "\x1b[95m"
|
|
#define ANSI_CYAN "\x1b[96m"
|
|
#define ANSI_RESET "\x1b[0m"
|
|
#else
|
|
#define ANSI_RED
|
|
#define ANSI_GREEN
|
|
#define ANSI_YELLOW
|
|
#define ANSI_BLUE
|
|
#define ANSI_MAGENTA
|
|
#define ANSI_CYAN
|
|
#define ANSI_RESET
|
|
#endif |