Functions§
- Shortens
texttomax_widthby removing leading characters.ellipsisis added if thetextgets truncated. - Wraps lines at the given width, returns a vector of lines (excluding “\n”.)
- Indents each line by the given prefix preserving labels.
- Wraps lines at the given width preserving labels.