Closed lysShub closed 1 year ago
What is your CodePage on Windows? LANG on Linux?
@mattn
Windows
>chcp
活动代码页: 936
Linux (wsl2) :
# echo $LANG
C.UTF-8
Yes, go-runewidth return 2 for ─
on CJK locales.
If you don't want that go-runewidth detect locales, set RUNEWIDTH_EASTASIAN=0
on windows/mac get: 2 on linux get: 1