nathanpeck / clui

Command Line UI toolkit for Node.js
MIT License
1.66k stars 40 forks source link

Spinner not displayed correctly on Windows command prompt #25

Closed mugi-luffy closed 2 years ago

mugi-luffy commented 2 years ago

when running the script from the windows command prompt, the spinner appears like this

cmd

Interestingly when using git-bash, everything is working as expected

bash

Any idea if this is a bug or how to fix it?

mugi-luffy commented 2 years ago

cmd can't display unicode characters. Using ['|','/','-','\'] works as expected