AshlinHarris / Spinners.jl

Command line spinners in Julia with Unicode support
MIT License
13 stars 1 forks source link

Using multiple spinners, or spinners with multiple characters #16

Closed AshlinHarris closed 2 years ago

AshlinHarris commented 2 years ago

Something like @spinner @spinner doesn't currently work, but this could be achieved with allowing multiple characters to be present in each frame of the spinner. This could be useful for drawing loading bars or ellipses.

AshlinHarris commented 2 years ago

Multiple character spinners could be used for string unfurling (LOADING...) or flipping (🂠🂠🂠🂭🂠). The exact string arrays could be complex, though they can be hard coded in the package and made available with a Symbol.

AshlinHarris commented 2 years ago

This could also be used to emulate a moving spinner. This has a lot of potential, so I'm going to make support for string vectors a priority.

AshlinHarris commented 2 years ago

b3eeec879349ecf17de572cd3811dfa8f0efb4f9