Expand description
anstyle_ls::parse parses a color configuration string (in LS_COLORS syntax)
into an anstyle::Style:
§Examples
let style = anstyle_ls::parse("34;03").unwrap();
assert_eq!(style, anstyle::AnsiColor::Blue.on_default() | anstyle::Effects::ITALIC);Functions§
- parse
- Parse a string in
LS_COLORS’s color configuration syntax into anansi_term::Style.