Ptrim
Bun

property

WrapAnsiOptions.trim

trim?: boolean

If true, trim leading and trailing whitespace from each line. If false, preserve whitespace.