If true, count ANSI escape codes as part of the string width. If false, ANSI escape codes are ignored when calculating the string width.
property countAnsiEscapeCodes | Bun module | Bun BuildDocsReferenceGuidesBlogDiscord/Bun/StringWidthOptions/countAnsiEscapeCodesPcountAnsiEscapeCodes BuildDocsReferenceGuidesBlogDiscord /Bun/StringWidthOptions/countAnsiEscapeCodesPcountAnsiEscapeCodes StringWidthOptions.countAnsiEscapeCodescountAnsiEscapeCodes?: boolean
Search the reference...
/
property
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →property countAnsiEscapeCodes | Bun module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- If `true`, count ANSI escape codes as part of the string width. If `false`, ANSI escape codes are ignored when calculating the string width.