-
Notifications
You must be signed in to change notification settings - Fork 538
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
Emojis break boxes [bug] #422
Comments
@Kycermann some emojis have two character lengths. You can see this by doing |
That's true but they shouldn't distort the Blessed boxes they're in and at the moment they do |
@Kycermann This bug has been finally patched in a fork by kenan. |
@p0ut awesome, seems like |
@Kycermann So just a quick update so I don't mislead you, both myself and kenan are looking into the emoji issue. It is caused by the library not being able to detect the width of emoji's. Initially, we managed to 'semi-patch' such characters, however it still occurs on certain emoji's. It seems that most character ranges are hard coded. We are doing our best to try to find a sufficient fix for this and I will keep you updated here. |
@p0ut cheers, I appreciate it! |
Emojis seem to have double (?) the width of normal characters. This isn't accounted for in a box when using
.pushLine
.The text was updated successfully, but these errors were encountered: