Skip to main content

parse_colors

Function parse_colors 

Source
pub fn parse_colors(text: &str) -> Result<Option<ColorDepth>, String>
Expand description

A colour-depth setting: auto is no depth, so the terminal decides.

ยงErrors

The text is neither auto nor a depth.