interface
WrapAnsiOptions
interface WrapAnsiOptions
- ambiguousIsNarrow?: boolean
If
true, count ambiguous-width characters as 1 character wide. Iffalse, count them as 2 characters wide. - hard?: boolean
If
true, break words in the middle if they don't fit on a line. Iffalse, only break at word boundaries. - trim?: boolean
If
true, trim leading and trailing whitespace from each line. Iffalse, preserve whitespace. - wordWrap?: boolean
If
true, wrap at word boundaries when possible. Iffalse, break every line at exactly the column width (characters are split wherever the limit falls, ignoring word boundaries).