mirror of
https://github.com/rivo/tview.git
synced 2026-04-27 13:55:51 +03:00
[GH-ISSUE #754] Using unicode in tview.List item cause rendering bug on Windows Terminal and VSCode Terminal #552
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#552
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Chronyaa on GitHub (Aug 8, 2022).
Original GitHub issue: https://github.com/rivo/tview/issues/754
I try to use unicode text (here is japanese) in
tview.Listwithlist.AddItem(text, "", 0, func(){}), but when I scroll up or down list, some unwanted character is also rendered.Here is the code:
And result in Windows Terminal, it works well before I scroll down to the end, and scroll up:

VSCode Terminal:

It seems this bug will trigger if:
@Chronyaa commented on GitHub (Aug 8, 2022):
It can fix by call
app.Syncafter each input events, so it might be the sync problem?@rivo commented on GitHub (Sep 18, 2022):
I just tried it in iTerm2 on macOS and didn't get these artefacts with the latest
tviewversion. Can you please try the latest version and let me know if you're still seeing this?@rivo commented on GitHub (Nov 13, 2022):
Please reopen / reference this issue if it is still relevant.