Skip to main content

map_ansi_color

Function map_ansi_color 

Source
pub fn map_ansi_color(c: Color, default_fg: Color, default_bg: Color) -> Color
Expand description

Map an alacritty Color to a Freya Color. default_fg / default_bg resolve NamedColor::Foreground / Background to the configured colors.