difft::options

Function detect_color_support

Source
fn detect_color_support() -> bool
Expand description

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