| 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 |
nothing calls this directly
no outgoing calls
no test coverage detected