1 2 3 4 5 6 7 8 9 10 11 12
#ifndef fooansicolorshfoo #define fooansicolorshfoo #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