mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #9] Not support unicode #5
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#5
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 @mylxsw on GitHub (Jan 11, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/9
Hello,
I found this library not support unicode currently, do you have any plan to add this feature?
Tcell has support to unicode.
when I input 中文支持,It juse show 中支
@rivo commented on GitHub (Jan 11, 2018):
Hi,
Yes, I would like to support unicode. At first, reading this
made me think there is no good way to deal with it. But the
mattn/go-runewidthpackage appears to have all the functions that are needed.I will get back to you when I have it.
@rivo commented on GitHub (Jan 11, 2018):
I've added support for wide characters. Please have a look. If you still see issues with that, please let me know.
@rivo commented on GitHub (Jan 11, 2018):
By the way, if you have a short code example with Chinese characters that you can send me, I'm happy to include it in the demos and the wiki.
@mylxsw commented on GitHub (Jan 12, 2018):
@rivo I've created a pull request with chinese characters demo #15
@rivo commented on GitHub (Jan 12, 2018):
Saw it. Thanks. It's also in the Wiki now.