Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unicode Block "Miscellaneous Symbols and Arrows" support #12

Closed
kucharskim opened this issue Sep 18, 2020 · 6 comments
Closed

Unicode Block "Miscellaneous Symbols and Arrows" support #12

kucharskim opened this issue Sep 18, 2020 · 6 comments

Comments

@kucharskim
Copy link

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?

@fcambus
Copy link
Owner

fcambus commented Sep 18, 2020

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
Copy link
Owner

fcambus commented Apr 23, 2023

@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.

@kucharskim
Copy link
Author

kucharskim commented Apr 23, 2023

@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.

@fcambus
Copy link
Owner

fcambus commented Apr 27, 2023

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

@fcambus
Copy link
Owner

fcambus commented Feb 21, 2024

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

@fcambus fcambus closed this as completed Feb 21, 2024
@kucharskim
Copy link
Author

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
    deraadt@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP

Thanks Frederic!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants