Skip to content
Snippets Groups Projects
Commit 422bf68e authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

tweak

parent a6e182d1
Branches
Tags
No related merge requests found
...@@ -376,7 +376,7 @@ void Msg::Direct(int level, const char *fmt, ...) ...@@ -376,7 +376,7 @@ void Msg::Direct(int level, const char *fmt, ...)
if(CTX::instance()->terminal){ if(CTX::instance()->terminal){
const char *c0 = "", *c1 = ""; const char *c0 = "", *c1 = "";
if(!streamIsFile(stderr) && streamIsVT100(stderr)){ if(!streamIsFile(stdout) && streamIsVT100(stdout)){
c0 = "\33[34m"; c1 = "\33[0m"; // blue c0 = "\33[34m"; c1 = "\33[0m"; // blue
} }
fprintf(stdout, "%s%s%s\n", c0, str, c1); fprintf(stdout, "%s%s%s\n", c0, str, c1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment