-
Notifications
You must be signed in to change notification settings - Fork 1
/
termColors.hpp
27 lines (22 loc) · 1.11 KB
/
termColors.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#ifndef TERM_COLORS_CPP
#define TERM_COLORS_CPP
#include <string>
const std::string RESET = "\033[0m";
const std::string BLACK = "\033[30m"; /* Black */
const std::string RED = "\033[31m"; /* Red */
const std::string GREEN = "\033[32m"; /* Green */
const std::string YELLOW = "\033[33m"; /* Yellow */
const std::string BLUE = "\033[34m"; /* Blue */
const std::string MAGENTA = "\033[35m"; /* Magenta */
const std::string CYAN = "\033[36m"; /* Cyan */
const std::string WHITE = "\033[37m"; /* White */
const std::string BOLDBLACK = "\033[1m\033[30m"; /* Bold Black */
const std::string BOLDRED = "\033[1m\033[31m"; /* Bold Red */
const std::string BOLDGREEN = "\033[1m\033[32m"; /* Bold Green */
const std::string BOLDYELLOW = "\033[1m\033[33m"; /* Bold Yellow */
const std::string BOLDBLUE = "\033[1m\033[34m"; /* Bold Blue */
const std::string BOLDMAGENTA = "\033[1m\033[35m"; /* Bold Magenta */
const std::string BOLDCYAN = "\033[1m\033[36m"; /* Bold Cyan */
const std::string BOLDWHITE = "\033[1m\033[37m"; /* Bold White */
const std::string CLEAR = "\033[2J"; // clear screen escape code
#endif