C Unit Test Framework  0.1
 All Files Functions Enumerations Enumerator Macros Pages
linuxtermcolors.h
1 #ifndef __LINUX_TERM_COLORS__
2 #define __LINUX_TERM_COLORS__
3 
4 #define RESET "\033[0m"
5 #define BLACK "\033[30m" /* Black */
6 #define RED "\033[31m" /* Red */
7 #define GREEN "\033[32m" /* Green */
8 #define YELLOW "\033[33m" /* Yellow */
9 #define BLUE "\033[34m" /* Blue */
10 #define MAGENTA "\033[35m" /* Magenta */
11 #define CYAN "\033[36m" /* Cyan */
12 #define WHITE "\033[37m" /* White */
13 #define BOLDBLACK "\033[1m\033[30m" /* Bold Black */
14 #define BOLDRED "\033[1m\033[31m" /* Bold Red */
15 #define BOLDGREEN "\033[1m\033[32m" /* Bold Green */
16 #define BOLDYELLOW "\033[1m\033[33m" /* Bold Yellow */
17 #define BOLDBLUE "\033[1m\033[34m" /* Bold Blue */
18 #define BOLDMAGENTA "\033[1m\033[35m" /* Bold Magenta */
19 #define BOLDCYAN "\033[1m\033[36m" /* Bold Cyan */
20 #define BOLDWHITE "\033[1m\033[37m" /* Bold White */
21 
22 #endif /* __LINUX_TERM_COLORS__ */