diff options
author | Steven Schubiger <stsc@refcnt.org> | 2016-01-19 21:48:11 +0100 |
---|---|---|
committer | Steven Schubiger <stsc@refcnt.org> | 2016-01-19 21:48:11 +0100 |
commit | b06babbc25367908898467939a1f168780046fa8 (patch) | |
tree | 5f8ca5116139ca465cf84a0bba35089077fd6f70 | |
parent | 025bf75f863750d29f7c7b523c2ad92f5bb62832 (diff) | |
download | colorize-b06babbc25367908898467939a1f168780046fa8.tar.gz colorize-b06babbc25367908898467939a1f168780046fa8.tar.bz2 |
Make color separator configurable
-rw-r--r-- | colorize.c | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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" |