Skip to main content

write_fg_params

Function write_fg_params 

Source
pub fn write_fg_params<W: Write>(w: &mut W, color: Color) -> Result<()>
Expand description

Append foreground color parameters to an in-progress SGR sequence. Color::Reset omitted (already handled by the leading 0 reset).