chalk / slice-ansi

Slice a string with ANSI escape codes
MIT License
47 stars 21 forks source link

Support fullwidth characters #4

Closed sindresorhus closed 7 years ago

sindresorhus commented 8 years ago

https://en.wikipedia.org/wiki/Halfwidth_and_fullwidth_forms

I've added a failing skipped test: https://github.com/chalk/slice-ansi/commit/e18c7cfc8673ad172e880507298e47b054a556e0

Same as https://github.com/chalk/wrap-ansi/issues/10.