Function supports_color::on
source · pub fn on(stream: Stream) -> Option<ColorLevel>Expand description
Returns a ColorLevel if a Stream supports terminal colors.
pub fn on(stream: Stream) -> Option<ColorLevel>Returns a ColorLevel if a Stream supports terminal colors.