|
Name |
| std::string |
repStr(std::string const & s, size_t n) |
| std::string |
colorizeJson(nlohmann::json const & j, int indent =0, bool lastElement =false) |
inline std::string repStr(
std::string const & s,
size_t n
)
inline std::string colorizeJson(
nlohmann::json const & j,
int indent =0,
bool lastElement =false
)
#define ANSI_COLOR_RED "\x1b[31m"
#define ANSI_COLOR_GREEN "\x1b[32m"
#define ANSI_COLOR_BLUE "\x1b[34m"
#define ANSI_COLOR_GREEN_BOLD "\x1b[1;32m"
#define ANSI_COLOR_WHITE "\x1b[1;37m"
#define ANSI_COLOR_DIM_WHITE "\x1b[37m"
#define ANSI_COLOR_CYAN "\x1b[36m"
#define ANSI_COLOR_YELLOW "\x1b[33m"
#define ANSI_COLOR_RESET "\x1b[0m"
#define HEADER_SEPERATOR "-"
#define HEADER_COLOR ANSI_COLOR_GREEN
#define HIGHLIGHT_COLOR ANSI_COLOR_YELLOW
#define ERROR_COLOR ANSI_COLOR_RED
#define INFO_COLOR ANSI_COLOR_CYAN
#define KEY_COLOR "\033[1;34m"
#define STRING_COLOR "\033[0;32m"
#define BRACE_COLOR "\033[1;33m"