refill_and_print

Function refill_and_print 

Source
pub fn refill_and_print<S: AsRef<str>, P: IntoIterator<Item = S>>(
    console: &mut dyn Console,
    paragraphs: P,
    indent: &str,
) -> Result<()>
Expand description

Same as refill but prints the lines of each paragraph to the console instead of returning them and prefixes them with an optional indent.

The width is automatically determined from the console’s size.