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