Closed mattn closed 7 years ago
Thanks for the PR. I think it's a good idea to support ASCII line art, however I would prefer it to be configurable by the user and not only enabled when runewidth.IsEastAsian()
returns true.
So, I created #93 to support this use case. What do you think? It allow gocui users to decide how they want to draw the interface. For instance, depending on runewidth info.
On CJK, the width of borders are drawn as two cells.
Because those characters are East Asian Ambiguous Widths. It will be rendered as two cells in the future. But currently, most of terminal doesn't use Unicode9 character widths. This is workaround until the support of terminals.
See also https://github.com/jroimartin/gocui/issues/49
Below is after applying this patch.