Closed NHOrus closed 7 years ago
And I am done for today.
In my environment:
Without filename width patch and with it. Need to think more about it.
And with utf8. RuneCountInString() instead of go-runewidth.
Sorry. I don't know.
I will try to check that out too 💪
Hi @NHOrus . I came up with a good way. I might develop it on another branch. 🙏
I think if you succeed it would be great to put in it's own library. Because, well, not a question of width of symbol, but width of a glyph in font.
Also, willing to help with that.
Because, well, not a question of width of symbol, but width of a glyph in font.
Sure.
But, even if it can not be solved in all environments , it may be able to solve to some extent (for example: limited to monospaced fonts) 💪
Maybe this can help? https://godoc.org/golang.org/x/text/width
@NHOrus
I fixed it in GH-7, so close this PR. Thanks !!
Some people have unicode filenames. They obviously misalign with naive width calculations.