pub fn print_lines(term: &Term, lines: &[String]) -> Result<()>Expand description
Writes lines to the stream of term, one per line.
The text goes through anstream: when term.color is off every ANSI escape sequence is
stripped (a safety net for strings that were styled by hand), when it is on they are passed
through unchanged.
ยงErrors
Returns the I/O error of the underlying stream, e.g. a broken pipe.