-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Wrong value of wcwidth for emoji #12523
Comments
for what character ? we use libc's wcwidth if you want to check |
maybe for all emojis. probably, I've named this issue wrong way, I'm sorry, but please, check the issue that I left in the end of this issue text |
basically terminal and nvim and fonts have to agree, that's one of the problem without good solutions at the time. You can try unsetting the 'emoji' option or read the ambiwidth option to see if that helpo. Otherwise https://github.com/thestinger/termite uses libc's wcwidth so it may work better for you. |
not sure there is a good solution here, all components need to use the same source of truth. |
nvim --version
:vim -u DEFAULTS
(version:8.2.814
) behaves differently?particulary yes
OS
:Archlinux
WM
:Sway (wayland)
CPU
:Intel Core i7-8550U
GPU
:Intel UHD Graphics 620 (rev 07)
Driver
:mesa 20.1.1-1
Terminal / version
:kitty 0.18.0 created by Kovid Goyal
$TERM
:xterm-256color
Steps to reproduce using
nvim -u NORC
Actual behaviour
Expected behaviour
see in kovidgoyal/kitty#2786
The text was updated successfully, but these errors were encountered: