Describe the bug
When adding certain kinds of emoji to a file and scrolling in the git diff, characters at the end of surrounding lines get duplicated to the top and bottom.
To Reproduce
Steps to reproduce the behavior:
- Create a new git repo
- Paste the some-build-workflow.yml file
- Scroll down and then up again while hovering over "Unstaged Changes" pane
- See duplicated characters
Screenshots
Version info:
commit=, build date=, build source=nix, version=0.54.2, os=darwin, arch=arm64, git version=2.50.1
git version 2.50.1
- Saw it in kitty and Ghostty
Additional context
I think the emoji I'm using in my example has a slightly different Unicode signature than the default emoji: 📝️ and 📝. The first one causes these problems, the second one doesn't. There seems to be some kind of invisible character behind the first emoji. When I paste it in zsh I see 📝<fe0f>. In fish and all my editors I don't see it.
Describe the bug
When adding certain kinds of emoji to a file and scrolling in the git diff, characters at the end of surrounding lines get duplicated to the top and bottom.
To Reproduce
Steps to reproduce the behavior:
Screenshots
Version info:
commit=, build date=, build source=nix, version=0.54.2, os=darwin, arch=arm64, git version=2.50.1git version 2.50.1Additional context
I think the emoji I'm using in my example has a slightly different Unicode signature than the default emoji:
📝️and📝. The first one causes these problems, the second one doesn't. There seems to be some kind of invisible character behind the first emoji. When I paste it in zsh I see📝<fe0f>. In fish and all my editors I don't see it.