fn detect_color_support() -> bool
Expand description

Always enable colour if stdout is a TTY or if the git pager is active.