Function crossterm::style::force_color_output

source ·
pub fn force_color_output(enabled: bool)
Expand description

Forces colored output on or off globally, overriding NO_COLOR.

§Notes

crossterm supports NO_COLOR (https://no-color.org/) to disabled colored output.

This API allows applications to override that behavior and force colorized output even if NO_COLOR is set.