WordWrapper handles ANSI-aware text wrapping.
It correctly accounts for zero-width ANSI escape codes when calculating
line lengths and wrapping text.
Instance methods
Wraps the given text to the configured width.
Returns an array of wrapped lines.
Source