Open cormullion opened 1 year ago
Awesome, these are some really helpful ideas and links! I have a lot of respect for developers who use Julia to make beautiful things.
Some Unicode is already supported by Spinners.jl, with certain limitations. Currently, the package uses transcode length to find the right number of backspaces for clearing a UTF16 character. Also, I'd like to keep features compatible with Windows Terminal, though I might have to give up on that.
I'm not so familiar with the Open Font License, but at the very least I can make sure that this package is compatible with any widely used custom character sets.
As of #123, Unicode should be fully supported. The package makes use of textwidth
and Unicode: graphemes
, and I fixed a couple bugs and moved all clean up steps to the spinner process. Now something crazy like @spinner "🎉\u3000დ\u3000@ क़ "
runs as intended.
I like this package - it adds a bit of fun and utility to the REPL, which is always welcome!
Although you mention ASCII, I'm thinking Unicode... :) Here are a few spinners that reach further into the dark recesses of Unicode. Fonts will be important...
Thanks!