Module wrap

Module wrap 

Source
Expand description

Utilities for text wrapping.

Structs§

Words
Splits a sequence of styled strings into words.
Wrapper
Combines a sequence of styled words into lines with a maximum width.

Functions§

split 🔒
Tries to split the given string into two parts so that the first part is shorter than the given width.