constants.h: Use "\033" instead of the non-standard "\e".

This commit is contained in:
Simon Ruderich
2013-06-09 16:26:36 +02:00
parent bcd5f79080
commit 30876b212c

View File

@@ -27,8 +27,8 @@
#define ENV_NAME_FORCE_WRITE "COLORED_STDERR_FORCE_WRITE"
/* Strings written before/after each matched function. */
#define DEFAULT_PRE_STRING "\e[91m"
#define DEFAULT_POST_STRING "\e[0m"
#define DEFAULT_PRE_STRING "\033[91m"
#define DEFAULT_POST_STRING "\033[0m"
/* Number of elements to allocate statically. Highest descriptor observed in
* normal use was 255 (by bash), which yielded this limit to prevent