countAnsiEscapeCodes

PcountAnsiEscapeCodes
Bun

Symbol

StringWidthOptions.countAnsiEscapeCodes

countAnsiEscapeCodes?: boolean

If true, count ANSI escape codes as part of the string width. If false, ANSI escape codes are ignored when calculating the string width.