jbcarpanelli / spinnies

Node.js module to create and manage multiple spinners in command-line interface programs
MIT License
147 stars 32 forks source link

Supports fullwidth characters #23

Open hakoai opened 4 years ago

hakoai commented 4 years ago

Thanks for making this library! I use it in my project.

If it is fullwidth characters , it will be missing.

spinnies.add("fullwidth characters", {text: "一二三四五六七八九十"});

image

I corresponded using "string-width".

image

jbcarpanelli commented 4 years ago

Hey @hakoai! Sorry for the late response, and thank you for contributing :smile:. I'm gonna make some room on the weekend to review this feature!