Function branchless::core::formatting::printable_styled_string[][src]

pub fn printable_styled_string(
    glyphs: &Glyphs,
    string: StyledString
) -> Result<String>
Expand description

Write the provided string to out, using ANSI escape codfes as necessary to style it.

TODO: return something that implements Display instead of a String.