Replace \e GNUism w/ ISO \033 for escape sequences

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2016-08-22 01:31:49 +02:00
1 parent 6dec4e3858
commit 7c2ed556b9
3 files changed
+33 -33

No files matched your search

+2 -2
View File
@@ -25,8 +25,8 @@ static inline int test(int result, const char *fmt, ...)
char buf[80];
size_t len;
va_list ap;
const char success[] = " \e[1m[ OK ]\e[0m\n";
const char failure[] = " \e[7m[FAIL]\e[0m\n";
const char success[] = " \033[1m[ OK ]\033[0m\n";
const char failure[] = " \033[7m[FAIL]\033[0m\n";
const char dots[] = " .....................................................................";
va_start(ap, fmt);