From: Steven Schubiger Date: Tue, 19 Jan 2016 20:48:11 +0000 (+0100) Subject: Make color separator configurable X-Git-Tag: v0.58~4 X-Git-Url: http://git.refcnt.org/?p=colorize.git;a=commitdiff_plain;h=b06babbc25367908898467939a1f168780046fa8 Make color separator configurable --- diff --git a/colorize.c b/colorize.c index 0ab2ad9..67a78cf 100644 --- a/colorize.c +++ b/colorize.c @@ -106,7 +106,13 @@ #define ALLOC_COMPLETE_PART_LINE 8 -#define COLOR_SEP_CHAR '/' +#if defined(COLOR_SEP_CHAR_COLON) +# define COLOR_SEP_CHAR ':' +#elif defined(COLOR_SEP_CHAR_SLASH) +# define COLOR_SEP_CHAR '/' +#else +# define COLOR_SEP_CHAR '/' +#endif #define DEBUG_FILE "debug.txt"