[BUG] CJK charactors support?
CarterLi opened this issue · 6 comments
CarterLi commented
walles commented
Thanks for the repro!
This could be possible to handle using something like https://github.com/mattn/go-runewidth to figure out string lengths.
No promises for a fix, but I want this to work.
walles commented
... which seems to be based on this library: https://github.com/rivo/uniseg
CarterLi commented
wcwidth(3)
can be used in C. Not sure about go though.
walles commented
Unrelated note here, if you tend to use ps
, I can recommend trying my ps
replacement px
:
walles commented
Released in https://github.com/walles/moar/releases/tag/v1.27.2.
And you should really try px
:).