pub fn colors_enabled() -> boolExpand description
Check if colors should be enabled.
This respects standard environment variables for color control:
NO_COLOR=1: Disables all ANSI output (https://no-color.org/)CLICOLOR_FORCE=1: Forces colors even in non-TTYCLICOLOR=0: Disables colors on macOSTERM=dumb: Disables colors for basic terminals