pub fn has_colors() -> bool
Expand description

Return true if the terminal can display colors; otherwise, return false.