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
unicode rendering issue with info sign emoji in Windows Terminal #104
Comments
Could not reproduce this on macOS Terminal.app |
Cannot reproduce it on Fedora with gnome-terminal either. |
Seems to be related to variation selector 16 (0xFE0F). Removing that rune from the end of the sequence seems to fix it. It seems like Windows terminal is adding a column for the 0xFE0F character, and I think that's getting the terminal state out-of-sync with tcell's internal representation. Possibly related: microsoft/terminal#12373 |
Closing because I think this will be resolved by active work in Windows Terminal to better support unicode. |
Made a small change to render emojis with 0xFE0F as two cells. Previously some of them (like the info sign) were being rendered as one cell, but every terminal I tested used two. This doesn't fix the issue in Windows Terminal, but it does improve rendering in other terminals: bdde43d |
Describe the bug
Text gets garbled in a document with a unicode info sign emoji.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Deleted characters should not be displayed.
Screenshots
System (please complete the following information):
Additional context
cat
to output to the terminal.The text was updated successfully, but these errors were encountered: