mirror of
https://github.com/troglobit/libite.git
synced 2026-11-02 13:10:33 +00:00
Replace \e GNUism w/ ISO \033 for escape sequences
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
6dec4e3858
commit
7c2ed556b9
3 files changed
+33
-33
No files matched your search
+2
-2
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user