-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect handling of CJK ambiguous width characters #6560
Comments
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. |
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 |
- Better argument parsing - Allow processing all language folders at the same time - Allow an optional reference language when translating - Save translations on KeyboardInterrupt - Fixes a ooold input issues by importing readline (kovidgoyal/kitty#6560) - Add untranslate mode to remove translations by a key regex --------- Co-authored-by: Nik <werwolv98@gmail.com>
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
.The text was updated successfully, but these errors were encountered: