diff options
author | midipix <writeonce@midipix.org> | 2016-05-01 00:04:39 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-11-10 23:35:43 -0500 |
commit | 4527386c231cae18e1ca0a99987418d78e613275 (patch) | |
tree | 794e12b40d98022f7e325cd3e80355f17f8b67b8 | |
parent | 8435a6e9b91eb4f479a65a64a1a7761da4633a99 (diff) | |
download | perk-4527386c231cae18e1ca0a99987418d78e613275.tar.bz2 perk-4527386c231cae18e1ca0a99987418d78e613275.tar.xz |
utility: version info: replace the non-portable \e with the portable \x1b.
-rw-r--r-- | src/perk.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -20,9 +20,9 @@ static const char vermsg[] = "%s%s%s (git://midipix.org/perk): " "[commit reference: %s%s%s]\n"; static const char * const pe_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 pe_ver_plain[6] = { |