Function endbasic_std::console::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.