X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=color.h;h=18abeb7c7dd47794d4f5fea4049b5719f03383fe;hb=07a4a3b4962e1fd4e40fd877427cddd7428c1bc3;hp=5019df82f79f1888b3aa57b9752a6a55b13f475a;hpb=9d5156496d2d32800df52fa372295c16ab2578f0;p=git.git diff --git a/color.h b/color.h index 5019df82f..18abeb7c7 100644 --- a/color.h +++ b/color.h @@ -4,6 +4,17 @@ /* "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */ #define COLOR_MAXLEN 24 +#define GIT_COLOR_NORMAL "" +#define GIT_COLOR_RESET "\033[m" +#define GIT_COLOR_BOLD "\033[1m" +#define GIT_COLOR_RED "\033[31m" +#define GIT_COLOR_GREEN "\033[32m" +#define GIT_COLOR_YELLOW "\033[33m" +#define GIT_COLOR_BLUE "\033[34m" +#define GIT_COLOR_MAGENTA "\033[35m" +#define GIT_COLOR_CYAN "\033[36m" +#define GIT_COLOR_BG_RED "\033[41m" + /* * This variable stores the value of color.ui */