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

TV doesn't respect the actual display width of the chars #170

Merged
merged 1 commit into from
Dec 8, 2023

Conversation

38
Copy link
Contributor

@38 38 commented Dec 4, 2023

Currently, TV doesn't format currently some double width unicode chars. Use the unicode-width crate so that we can get the correct display width for the unicode string.

For example, if there's Chinese characters, the formatting would be wrong currently.

image

After the change,

image

Currently, TV doesn't format currently some double width unicode chars.
Use the unicode-width crate so that we can get the correct display width
for the unicode string.
@alexhallam
Copy link
Owner

Thanks for the contribution!

@alexhallam alexhallam merged commit 7e90510 into alexhallam:main Dec 8, 2023
4 of 13 checks passed
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

Successfully merging this pull request may close these issues.

2 participants