blob: 6e07e1e8fb955fa3cac32643a62e62297aa20b1f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef fooansicolorshfoo
#define fooansicolorshfoo
extern const char *ansi_red;
extern const char *ansi_green;
extern const char *ansi_yellow;
extern const char *ansi_blue;
extern const char *ansi_magenta;
extern const char *ansi_grey;
extern const char *ansi_normal;
#define ANSI_RED "\x1B[0;31m"
#define ANSI_GREEN "\x1B[0;32m"
#define ANSI_YELLOW "\x1B[0;33m"
#define ANSI_BLUE "\x1B[0;34m"
#define ANSI_MAGENTA "\x1B[0;35m"
#define ANSI_GREY "\x1B[0;38;5;245m"
#define ANSI_NORMAL "\x1B[0m"
#endif
|