Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`try_wrap` is identical to `wrap` except that it returns the display widths of the wrapped lines rather than actually wrapping the given text. The tests are also borrowed from `wrap`'s.
- Loading branch information