Skip to main content

sgr

Function sgr 

Source
pub fn sgr(style: &Style, depth: ColorDepth, paint_bg: bool) -> String
Expand description

Full SGR start sequence for a style (“” when the style is plain). paint_bg = false drops backgrounds, as the default terminal theme and appearance.background = "terminal" require.