Function wrap
Source pub fn wrap(s: &str, limit: usize, breakpoints: &str) -> String
Expand description
Soft-wrap s at word breakpoints, then hard-wrap any remaining overlong line.
This combines wordwrap with hardwrap so every visible line fits within limit when limit > 0.