easylogging++: add screen.xterm-256color to the "allow colour" TERM list

This commit is contained in:
moneromooo-monero 2019-10-26 20:16:19 +00:00
parent 7caa2b0d3e
commit f49a8cad23
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -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