mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-05-16 12:21:22 +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");
|
||||
if (!strncmp(Term, "xterm", 5))
|
||||
{
|
||||
XtermColor = true;
|
||||
putenv((char*)"TERM=xterm-16color");
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user