Skip to main content

write_combined_sgr

Function write_combined_sgr 

Source
pub fn write_combined_sgr<W: Write>(
    w: &mut W,
    fg: Color,
    bg: Color,
    mods: Modifier,
) -> Result<()>
Expand description

Emit a single combined SGR sequence: \x1b[0;...m Resets all attributes then applies modifiers, fg, and bg in one escape.