wrong print of box with title including asian characters
FLAGLORD opened this issue · comments
If the title of box includes asian characters, it would not print in a pretty way.
┌─ 测试 ─┐
| |
└──────────┘
Line 243 in 20d3f63
Len()
is not suitable for asian characters. Maybe runewidth.StringWidth()
is a better choice.Thanks for reporting the issue! Will be fixed in the next release.