use color macros

This commit is contained in:
Philippe Teuwen
2019-04-26 08:29:48 +02:00
parent acc101ed37
commit 70995f0f1e
3 changed files with 8 additions and 12 deletions

View File

@@ -935,7 +935,7 @@ int detect_classic_nackbug(bool verbose) {
} else {
printf(
#if defined(__linux__) || (__APPLE__)
"\e[32m\e[s%c\e[u\e[0m", star[(staridx++ % 4) ]
_GREEN_("\e[s%c\e[u"), star[(staridx++ % 4) ]
#else
"."
#endif