-
Notifications
You must be signed in to change notification settings - Fork 61
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
Bug: Missing characters when pasting green square emoji #379
Comments
Ah yes, all multi-width (multi-cell) characters are not rendered properly in the tui. I can take a look at this. |
Leaving this here for later: https://github.com/ridiculousfish/widecharwidth (see generated Rust code). We can use it to get widths of wide characters (such as 🟩). |
Wide character rendering in the message area should be supported, we use tiny/crates/termbox/src/lib.rs Line 275 in 5bcba53
Without any investigation, I'm guessing this could be a bug in the input area. |
Related: #306 |
I've seen this bug in the chat log as well. Basically anywhere that there would be 2 consecutive squares, only 1 of them would show up. Also, if I input one square emoji, and a letter afterwards, the square emoji will "swallow" the letter, in the input field and also in the chat log. |
I pasted this text into tiny IRC:
🟩🟩🟩🟩🟩
I got:
For some reason there is only 3 squares instead of 5.
The text was updated successfully, but these errors were encountered: