mirror of
https://github.com/rivo/tview.git
synced 2026-04-26 21:35:54 +03:00
[GH-ISSUE #118] Horizontal border is kind of weird #93
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tview#93
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 @zyuyou on GitHub (May 19, 2018).
Original GitHub issue: https://github.com/rivo/tview/issues/118
System: macOS 10.13.4
go version go1.10.2 darwin/amd64
Terminal: iterm3
Terminal font: Menlo (Actually same as other, also on Windows and Linux)
@rivo commented on GitHub (May 23, 2018):
You closed this yourself. Did you find the cause of the problem?
There was an issue similar to this one: #66. Are they related?
@zyuyou commented on GitHub (May 25, 2018):
It works fine when I set
LC_CTYPE="en_US.UTF-8". andLC_CTYPE="zh_CN.UTF-8"was make horizontal border wrong. I found the solution from gdamore/tcell#203 .@rivo commented on GitHub (May 25, 2018):
Thanks for the feedback!
@sisyphsu commented on GitHub (May 27, 2019):
Copy from gdamore/tcell#203
Another solution, you can force
runewidthto return 1 for normal symbols, like '-':Other unicode word will still be 2, like '中'.