Merge pull request #6037

f49a8ca easylogging++: add screen.xterm-256color to the 'allow colour' TERM list (moneromooo-monero)
This commit is contained in:
luigi1111 2019-12-12 13:40:09 -06:00
commit 425da2381d
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1243,7 +1243,7 @@ bool OS::termSupportsColor(void) {
std::string term = getEnvironmentVariable("TERM", "");
return term == "xterm" || term == "xterm-color" || term == "xterm-256color"
|| term == "screen" || term == "linux" || term == "cygwin"
|| term == "screen-256color";
|| term == "screen-256color" || term == "screen.xterm-256color";
}
// DateTime