Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Double wide character rendering support #98

Open
zoe-codez opened this issue Jun 8, 2023 · 1 comment
Open

Double wide character rendering support #98

zoe-codez opened this issue Jun 8, 2023 · 1 comment
Labels
🏚️ bug Something isn't working. Attach project label also 📈 enhancement New feature or request. Attach project label also 💻 tty @digital-alchemy/tty

Comments

@zoe-codez
Copy link
Owner

zoe-codez commented Jun 8, 2023

Some non-english characters, or font awesome icons render as double wide. This can break the rendering of components like menu
2023-06-08_09-03

@zoe-codez zoe-codez added 🏚️ bug Something isn't working. Attach project label also 📈 enhancement New feature or request. Attach project label also 💻 tty @digital-alchemy/tty labels Jun 8, 2023
@zoe-codez
Copy link
Owner Author

A package like wcwidth can be used to calculate the correct width for rendering the divider bar. When these characters are used as the icon for an entry, all the other icons in that column should have extra padding (as required) for a common width

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🏚️ bug Something isn't working. Attach project label also 📈 enhancement New feature or request. Attach project label also 💻 tty @digital-alchemy/tty
Projects
None yet
Development

No branches or pull requests

1 participant