Skip to main content

paint

Function paint 

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

text wrapped in the style (no escape codes at all for a plain style).