Skip to main content

print_wrapped

Function print_wrapped 

Source
pub fn print_wrapped(indent: &str, msg: &str)
Expand description

Print an explanatory paragraph, wrapped to the terminal and indented under indent.

The alternative is what devp run did until a machine with twenty-one unreadable repositories showed it: three-line explanations soft-wrapped by the terminal back to column zero, so the continuation of an indented note started further left than the note did and read as a new item.