Closed mattn closed 9 years ago
I agree with you that it's an issue, but how about simply using ASCII everywhere? I don't really like these big if statements you did there. I mean it looks good enough with just ASCII, I can live with that on linux too.
I'll do the conversion myself, it's not hard at all.. Will do it tomorrow for sure. But thanks for the idea, yeah.. it's a good idea.
Thanks!
FYI, one more this. https://github.com/nsf/tulib/blob/master/buffer.go#L173 This is also ambiguous width character.
What should I replace it with? :) Maybe '~'?
Replaced the unicode ellipsis with '~'. It is used in other popular apps like Far Manager or Midnight Commander for that role.
it works fine. thank you
As you know, on windows, there are some unicode points that doesn't render correctly. For example, east asian ambiguous width. It is not a problem of godit. Not a problem of termbox-go. it is a problem of ambiguous character widths. so i want to suggest to use ASCII characters for rendering borders on windows.
Before
After
Currenly, this is ugly patch. if you want this change, I'll update.