-
-
Notifications
You must be signed in to change notification settings - Fork 593
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
Unwanted artifacts on screen when scrolling text with a lot of unicode characters #693
Comments
An update on this issue:
Writing certain combined runes (?) to the output can cause the entire UI to break, with text being rendered incorrectly and so on. |
Please share the text that causes this breakage as well as the application code responsible for displaying it. |
@tslocum apologies for the delay. The application code is simple enough, it can be anything that displays/handles text like a Table/TableCell, InputField, TextView, etc.
You should notice certain characters "sticking" inside the inputfield. (Weirdly, some editors like vim and micro also have problems with rendering combined runes. Micro handles unicode in a somewhat similar manner to tview, and the same thing occurs while editing text in micro - the entire UI breaks) |
Seems to be related to some issues in other packages. I've opened up issue gdamore/tcell#515. |
Also mattn/go-runewidth#59. |
I made a suggestion over at I don't know how fast @mattn is with this. We'll see. |
Is this issue still relevant? I believe Unicode should work properly now. If there is no further comment soon, I will close this issue. |
While dealing with text that has a lot of unicode, the characters end up "stuck" on the screen, and in the case of the table, the selector malfunctions. Please take a look at the video.
@rivo @tslocum, I'm really sorry for tagging, but I believe this issue to be critical. Any advise would be much appreciated.
unicode-bug-2022-01-25_17.11.03.mp4
The text was updated successfully, but these errors were encountered: