spleen icon indicating copy to clipboard operation
spleen copied to clipboard

Unicode Block "Miscellaneous Symbols and Arrows" support

Open kucharskim opened this issue 5 years ago • 4 comments

Are you planning to add support to Spleen for something like that? I'm asking as recently found some apps which on the console are using up/down arrows for download and upload indication:

⬇ ⬆ \xe2\xac\x87 \xe2\xac\x86 U+2B07 U+2B06

and was wondering is this Unicode block on your roadmap or maybe not?

kucharskim avatar Sep 18 '20 01:09 kucharskim

I have plans to add a large part of the Arrows Unicode block. From there, I suppose it wouldn't be too difficult to add at least the arrows from the Miscellaneous Symbols and Arrows Unicode block, where the two characters you pointed out are located.

On a more general note, I don't consider Spleen done yet and plan to keep on adding more characters.

fcambus avatar Sep 18 '20 20:09 fcambus

@kucharskim It's been a while, but I would appreciate if you could point out which programs use those characters so I can test the results.

Maybe adding the most used arrows would not be that much work, I will be working on that.

fcambus avatar Apr 23 '23 13:04 fcambus

@fcambus I saw it initially with https://github.com/near/nearcore/ but in general the new blockchain industry is full of emoji and utf-8 in the application logs. I saw non-ASCII characters in substrate chains (https://github.com/paritytech/polkadot), I don't remember does https://github.com/ethereum/go-ethereum also have some non-standard (as in, non-ASCII) characters. This task specifically was triggered by nearcore.

kucharskim avatar Apr 23 '23 18:04 kucharskim

@kucharskim Thanks for the info, I started working on adding some arrows already, will commit more stuff during the following weeks.

fcambus avatar Apr 27 '23 15:04 fcambus

Closing this as the mentioned symbols have been added last year.

fcambus avatar Feb 21 '24 13:02 fcambus

Yes, indeed it works (copy paste from XTerm):

33 peers ⬇ 2.06 MB/s ⬆ 2.31 MB/s

$ sysctl -n kern.version                                                    
OpenBSD 7.4-current (GENERIC.MP) #1626: Thu Jan 25 20:05:01 MST 2024
    [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Thanks Frederic!

kucharskim avatar Feb 21 '24 15:02 kucharskim