Function supports_color::on

source ยท
pub fn on(stream: Stream) -> Option<ColorLevel>
Expand description

Returns a ColorLevel if a Stream supports terminal colors.