Closed ctrlcctrlv closed 1 year ago
I suggest the following default rules:
It is itself EAW fullwidth.
As far as I know no terminal programs follow these rules. Changing it in kitty will break things for anyone actually using these characters. Ideally developers of several major TUI programs should agree to this before it is implemented in kitty. Currently as far as I know there are no actual issues reported by kitty users for ambiguous width characters, making this change will cause issues when the program running in the terminal will no longer agree with kitty on what the width should be.
As such, I am not particularly keen to implement this. If you can point to some other terminal emulators or better major terminal programs that have implemented or plan to implement it, I will reconsider.
mlterm follows these rules:
There is no way wcwidth can implement the algorithm you describe since it returns widths of characters in isolation. One would need wcswidth for that.
i did not name wcwidth-cjk repo
Describe the bug UAX №11 defines East Asian Width, or CJK Width.
The spec reads:
Emphasis mine.
To Reproduce Steps to reproduce the behavior:
Environment details
Additional context
kitty --config NONE
.