Closed rhysd closed 8 years ago
I currently don't have any idea except for rendering text per one character to resolve this issue.
On the same subject (I'm not opening a new issue because issues are not pretty but if you think it should be opened I'll do): When rendering double-width chars, updates don´t cover fully the area previously drawn, therefore there are “leftovers” still drawn on screen until some other update covers completely the area. Maybe doing some more rendering than what is asked by neovim could solve this.
Yes, I think we should render text per character. I think it is not so hard and I'll try it.
I'm working on this in issue17 branch.
And it seems to work well:
And I also added support surrogate pair characters such as '𠮟'. It seems to work well but emojis are not rendered properly. This looks a limitation of Vim.
:dog::sweat_drops:
It seems that width of double-width character is narrower than double width of normal character. It causes the wrong cursor position as below.