Skip to main content

wrap_text

Function wrap_text 

Source
pub fn wrap_text(text: &str, max_chars: usize) -> Vec<String>
Expand description

Word-wrap text to at most max_chars per line.