Function console::colors_enabled[][src]

pub fn colors_enabled() -> bool

Returns true if colors should be enabled for stdout.

This honors the clicolors spec.