This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You need the terminal color codes. For linux it's the following (your system might be different, look it up): | |
//the following are UBUNTU/LINUX, and MacOS ONLY terminal color codes. | |
#define RESET "\033[0m" | |
#define BLACK "\033[30m" /* Black */ | |
#define RED "\033[31m" /* Red */ | |
#define GREEN "\033[32m" /* Green */ | |
#define YELLOW "\033[33m" /* Yellow */ | |
#define BLUE "\033[34m" /* Blue */ | |
#define MAGENTA "\033[35m" /* Magenta */ |