pub fn write_wrapped(
formatter: &mut dyn Formatter,
recorded_content: &FormatRecorder,
width: usize,
) -> Result<()>Expand description
Wraps lines at the given width preserving labels.
textwrap::wrap() can also process text containing ANSI escape sequences.
The main difference is that this function will reset the style for each line
and recreate it on the following line if the output formatter is
a ColorFormatter.