MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / termSupportsColor

Method termSupportsColor

src/thundersvm/util/log.cpp:1064–1069  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1062 }
1063
1064 bool OS::termSupportsColor(void) {
1065 std::string term = getEnvironmentVariable("TERM", "");
1066 return term == "xterm" || term == "xterm-color" || term == "xterm-256color"
1067 || term == "screen" || term == "linux" || term == "cygwin"
1068 || term == "screen-256color";
1069 }
1070
1071// DateTime
1072

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected