-
Notifications
You must be signed in to change notification settings - Fork 24
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
Some node aliases are trimmed #89
Comments
I mostly made it work on |
There's another big mess which is being solved, hopefully. For now cutting |
Still need to fix the routing view as it also shows aliases and they shift other columns if there are emojis or wide characters. Otherwise looks pretty good to me. |
Routing views are fixed now, also added back current column highlighting with bold. Rebasing onto master is hard because this branch contains the color library changes and channel age colors. Better wait until that PR is merged so |
Just a note that I see an issue with this node "bitdenaro 🦡 🇮🇹". |
Yeah, it depends on whether the number of characters is even or odd and also applies to multiple emojis next to each other. My |
Ready for review! |
Not sure what causes it, needs investigation.
電
should be電母
andDiamondHands💎
should beDiamondHands💎🙌
. Aliases are currently shortened to 24 bytes which is already incorrect since this can break multibyte characters (happens with JoltFun node, for example). I changed it to 24 runes, a trivial change likealias = string([]rune(alias)[:24])
but it still cuts these characters. Plus, emojis are two characters wide so it's still not as straightforward, can shift other columns I think.The text was updated successfully, but these errors were encountered: