mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-05-16 20:31:24 +00:00
added putenv for requested escape-code level
This commit is contained in:
parent
647db52fac
commit
5f4f13734a
@ -73,7 +73,10 @@ struct ConsoleLogger : public ILogger
|
|||||||
{
|
{
|
||||||
Term = getenv("TERM");
|
Term = getenv("TERM");
|
||||||
if (!strncmp(Term, "xterm", 5))
|
if (!strncmp(Term, "xterm", 5))
|
||||||
|
{
|
||||||
XtermColor = true;
|
XtermColor = true;
|
||||||
|
putenv((char*)"TERM=xterm-16color");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user