mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
easylogging++: add screen.xterm-256color to the "allow colour" TERM list
This commit is contained in:
parent
7caa2b0d3e
commit
f49a8cad23
1 changed files with 1 additions and 1 deletions
2
external/easylogging++/easylogging++.cc
vendored
2
external/easylogging++/easylogging++.cc
vendored
|
@ -1243,7 +1243,7 @@ bool OS::termSupportsColor(void) {
|
||||||
std::string term = getEnvironmentVariable("TERM", "");
|
std::string term = getEnvironmentVariable("TERM", "");
|
||||||
return term == "xterm" || term == "xterm-color" || term == "xterm-256color"
|
return term == "xterm" || term == "xterm-color" || term == "xterm-256color"
|
||||||
|| term == "screen" || term == "linux" || term == "cygwin"
|
|| term == "screen" || term == "linux" || term == "cygwin"
|
||||||
|| term == "screen-256color";
|
|| term == "screen-256color" || term == "screen.xterm-256color";
|
||||||
}
|
}
|
||||||
|
|
||||||
// DateTime
|
// DateTime
|
||||||
|
|
Loading…
Reference in a new issue