mirror of
https://github.com/AxioDL/logvisor.git
synced 2025-05-17 04:41:29 +00:00
Merge branch 'master' of https://github.com/RetroView/LogVisor
This commit is contained in:
commit
4416d51c46
@ -73,7 +73,7 @@ struct ConsoleLogger : public ILogger
|
|||||||
if (!Term)
|
if (!Term)
|
||||||
{
|
{
|
||||||
Term = getenv("TERM");
|
Term = getenv("TERM");
|
||||||
if (!strncmp(Term, "xterm", 5))
|
if (Term && !strncmp(Term, "xterm", 5))
|
||||||
{
|
{
|
||||||
XtermColor = true;
|
XtermColor = true;
|
||||||
putenv((char*)"TERM=xterm-16color");
|
putenv((char*)"TERM=xterm-16color");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user