-
-
Notifications
You must be signed in to change notification settings - Fork 93
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 width for flag symbols #39
Comments
Likely related: https://www.youtube.com/watch?v=sTzp76JXsoY |
The problem, as described in the video, is that it's technically 2 characters, with the renderer collapsing it to 1 character. So I think it's ill advised to change it from |
Looking at this in a bit more detail, I think the flag symbols need special handling in the renderer. However, they definitely count as emoji, and should be displayed using the Emoji Presentation property. |
Duplicate of #28? |
runewidth.StringWidth(🇩🇰)
returns 2.I haven't looked into this at all, and I have no idea what I should expect, but a width of 1 seems reasonable.
The text was updated successfully, but these errors were encountered: