summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-30 18:20:11 -0400
committermidipix <writeonce@midipix.org>2016-04-30 18:27:44 -0400
commit33ddb0e2ff332473482f4a8ff2dceaf573e29a35 (patch)
tree5a8c564aa6bfb2f7bc7a50c956635add4f5776ef /src
parent520f0836a6394bb93a6667769980215990ddf3b7 (diff)
downloadslibtool-33ddb0e2ff332473482f4a8ff2dceaf573e29a35.tar.bz2
slibtool-33ddb0e2ff332473482f4a8ff2dceaf573e29a35.tar.xz
output: replace the non-portable \e with the portable \x1b.
Diffstat (limited to 'src')
-rw-r--r--src/output/slbt_output_exec.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/output/slbt_output_exec.c b/src/output/slbt_output_exec.c
index e75a9d7..d97b1ec 100644
--- a/src/output/slbt_output_exec.c
+++ b/src/output/slbt_output_exec.c
@@ -9,12 +9,12 @@
#include <slibtool/slibtool.h>
const char aclr_null[] = "";
-const char aclr_reset[] = "\e[0m";
-const char aclr_bold[] = "\e[1m";
+const char aclr_reset[] = "\x1b[0m";
+const char aclr_bold[] = "\x1b[1m";
-const char aclr_green[] = "\e[32m";
-const char aclr_blue[] = "\e[34m";
-const char aclr_magenta[] = "\e[35m";
+const char aclr_green[] = "\x1b[32m";
+const char aclr_blue[] = "\x1b[34m";
+const char aclr_magenta[] = "\x1b[35m";
static int slbt_output_exec_annotated(
const struct slbt_driver_ctx * dctx,