Skip to content
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

narrow character + emoji variation results in wrong(?) width (displays incorrectly in kitty) #14590

Open
ces42 opened this issue Apr 18, 2024 · 1 comment
Labels

Comments

@ces42
Copy link

ces42 commented Apr 18, 2024

Steps to reproduce

The developer of kitty has some insight into this issue: kovidgoyal/kitty#7329 (comment)

  1. write just "⚠️" into a text file
  2. run vim --clean file.txt in any terminal emulator -- everything looks fine, but vim will treat the character as single-width, so it might visually overlap with the next character
  3. run vim --clean -c 'set cursorline | hi CursorLine cterm=none' file.txt in a very recent version of Kitty (e.g. 34.0) - The character is not rendered (you can tell there's a character in the file by moving the cursor and such, but it's "invisible")

Expected behaviour

the contents of the file are displayed correctly

Version of Vim

VIM - Vi IMproved 9.0 (2022 Jun 28, compiled Mar 14 2024 13:39:48) Included patches: 1-1672, 1729, 1747, 2107, 1840, 1846-1848, 1857-1858, 1873, 1969, 1992, 2010, 2068, 2106, 2108-2112, 2121

Environment

Ubuntu 23.10, zsh, kitty

Logs and stack traces

No response

@ces42 ces42 added the bug label Apr 18, 2024
@ronin49
Copy link
Contributor

ronin49 commented May 3, 2024

doesn't reproduce in suckless terminal

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants