Type Definition nu_ansi_term::AnsiByteStrings

source ·
pub type AnsiByteStrings<'a> = AnsiGenericStrings<'a, [u8]>;
Expand description

A set of AnsiByteStrings collected together, in order to be written with a minimum of control characters.

Implementations§

source§

impl<'a> AnsiByteStrings<'a>

source

pub fn write_to<W: Write>(&self, w: &mut W) -> Result<()>

Write AnsiByteStrings to an io::Write. This writes the minimal escape sequences for the associated Styles around each set of bytes.