From b06babbc25367908898467939a1f168780046fa8 Mon Sep 17 00:00:00 2001 From: Steven Schubiger Date: Tue, 19 Jan 2016 21:48:11 +0100 Subject: Make color separator configurable --- colorize.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'colorize.c') 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" -- cgit v1.2.3