chalk/wrap-ansi

Add a `ambiguousIsNarrow` option #47

ehmicky posted onGitHub

Some users might want to override the default value for the string-width option ambiguousIsNarrow. See https://github.com/sindresorhus/string-width/issues/38 about reasons why they might want this.

Therefore, this library should allow passing that option.

Note: I can submit a PR if this sounds good.


Now that it's fixed in string-width, do you still need this? Otherwise, I prefer to wait until someone actually needs this before exposing an option for it.

posted by sindresorhus about 3 years ago

Exactly, this is not needed anymore, and I agree adding an option is not helpful anymore then. Thanks!

posted by ehmicky about 3 years ago

Fund this Issue

$0.00
Funded

Pull requests