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

Wrong string length calculation #33

Open
hrueschwein opened this issue Mar 9, 2024 · 0 comments
Open

Wrong string length calculation #33

hrueschwein opened this issue Mar 9, 2024 · 0 comments

Comments

@hrueschwein
Copy link

At first, thanks for so nice theme! :)

I'm too lazy to make PR, but it would be better to use strings.RuneCount instead of len to count length of string, because len counts bytes instead of symbols.

Why is it important? Just try to use Unicode/not-ASCII symbols in title and all the alignment breaks.

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

1 participant