If true
, count ANSI escape codes as part of the string width. If false
, ANSI escape codes are ignored when calculating the string width.
Symbol
StringWidthOptions.countAnsiEscapeCodes
countAnsiEscapeCodes?: boolean