X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=color.h;h=167c929470827cf5e3e8556b3e052dc6dbf82957;hp=10b4c28a41f64bfa64813eb666beb1fc0c004315;hb=656a02453498156bab09763011ff43b81db57634;hpb=11018ebcc1cb1c002fc3488d247a43774ca408d7 diff --git a/color.h b/color.h index 10b4c28a..167c9294 100644 --- a/color.h +++ b/color.h @@ -4,6 +4,7 @@ /** "\033[1;38;5;2xx;48;5;2xxm\0" is 23 bytes */ #define COLOR_MAXLEN 24 +/** Switch back to normal colors. */ #define COLOR_RESET "\033[m" -int color_parse(const char *value, char *dst); +void color_parse_or_die(const char *value, char *dst);