]> ruderich.org/simon Gitweb - coloredstderr/coloredstderr.git/commitdiff
constants.h: Use "\033" instead of the non-standard "\e".
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 Jun 2013 14:26:36 +0000 (16:26 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 Jun 2013 14:26:36 +0000 (16:26 +0200)
src/constants.h

index 66fe03feecc909f00c3baf5198ea10fad0f1b4c5..f76f78f490e0a1d21dd64734cd3dc8b80daba0de 100644 (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