| 897 | } |
| 898 | |
| 899 | int isColorTerm(void) { |
| 900 | char *t = getenv("TERM"); |
| 901 | return t != NULL && strstr(t,"xterm") != NULL; |
| 902 | } |
| 903 | |
| 904 | /* Helper function for sdsCatColorizedLdbReply() appending colorize strings |
| 905 | * to an SDS string. */ |
no outgoing calls
no test coverage detected