From 525f80ca026b1eab958310083876e85b5afff6ff Mon Sep 17 00:00:00 2001 From: midipix Date: Nov 11 2016 05:22:40 +0000 Subject: utility: version info: replace the non-portable \e with the portable \x1b. --- diff --git a/src/mdso.c b/src/mdso.c index a89578d..a036517 100644 --- a/src/mdso.c +++ b/src/mdso.c @@ -20,9 +20,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/mdso): " "[commit reference: %s%s%s]\n"; static const char * const mdso_ver_color[6] = { - "\e[1m\e[35m","\e[0m", - "\e[1m\e[32m","\e[0m", - "\e[1m\e[34m","\e[0m" + "\x1b[1m\x1b[35m","\x1b[0m", + "\x1b[1m\x1b[32m","\x1b[0m", + "\x1b[1m\x1b[34m","\x1b[0m" }; static const char * const mdso_ver_plain[6] = {