PwordWrap
Bun

property

WrapAnsiOptions.wordWrap

wordWrap?: boolean

If true, wrap at word boundaries when possible. If false, don't perform word wrapping (only wrap at explicit newlines).