This function is used to tell the width of a char. It currently always returns 1.
We should parse the unicode database which contains codepoints display widths and implement this function using that data.
This will enable, for example, correctly rendering buffers which contain CJK symbols which usually have a display length of 2.
This function is used to tell the width of a
char
. It currently always returns1
. We should parse the unicode database which contains codepoints display widths and implement this function using that data. This will enable, for example, correctly rendering buffers which contain CJK symbols which usually have a display length of2
.