-
-
Notifications
You must be signed in to change notification settings - Fork 31
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
Great for π¦ but it hates π³οΈβπ :) #53
Comments
How is it wrong? |
|
I was looking for an explanation, not example, on how it's wrong. It's not clear from the example either what the exact problem is. |
I'm very sorry. Never meant to confuse you. As I read the package description is: Get the visual width of a string - the number of columns required to display it. To me at least that means I need the "size of the ruler" columns to print it. So the answers I expected was 127 and 116. In my case I was trying to print the string in a box and the difference in size caused the right side of the box to break. As far I concern I have already implemented an adjustment so I'm fine. I liked to know that the results are different in iTerm. |
When the input string contains characters like '1f3f3-fe0f-200d-1f308', // rainbow flag π³οΈβπ the width is wrong.
The text was updated successfully, but these errors were encountered: