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

Color Emoji produces ghosting effect when scrolling through the window #1261

Open
chansey97 opened this issue Apr 14, 2024 · 3 comments
Open

Comments

@chansey97
Copy link

chansey97 commented Apr 14, 2024

Following the wiki tips to config Color Emoji.

It can display emojis, but produces ghosting effect when scrolling through the window.

Please refer to the screen recording below.

mintty-emoji.mp4

P.s. After select all content and cancel, the rendering will return to normal. It does not seem that the screen refresh properly.

Version: mintty 3.7.0 (x86_64-pc-msys)

Thanks.

@chansey97 chansey97 changed the title Color Emoji produces ghosting effec when scrolling through the window Color Emoji produces ghosting effect when scrolling through the window Apr 14, 2024
@mintty
Copy link
Owner

mintty commented Apr 14, 2024

Please upload your test file. Also which font, font size, and emoji style do you run?

@chansey97
Copy link
Author

chansey97 commented Apr 14, 2024

Please upload your test file.

unicode.txt

Also which font, font size, and emoji style do you run?

I use Emojis=zoom, but it can also be reproduced by other emoji styles , e.g. twitter and google.

.minttyrc

Term=xterm
StatusLine=yes
Locale=en_US
Charset=UTF-8

ShowHiddenFonts=yes

Font=Source Code Pro
FontWeight=400
FontHeight=12

Charwidth=unicode
Emojis=zoom
EmojiPlacement=full

It can be reproduced on both windows 7 and 10.

P.s. Why I mentioned about Windows 7, even though it is no longer officially supported? Because AFAIK mintty is the only Terminal emulator that supports Color Emoji on Windows 7. So I hope to fix it.

mintty added a commit that referenced this issue Apr 19, 2024
mark emoji overhang in subsequent character position
not only if that is a space but also with setting EmojiPlacement=full (#1261);
drop exemptions (for numbers and flag letters) from emoji space expansion (#1104, 3.5.1)
@mintty
Copy link
Owner

mintty commented Apr 19, 2024

Tweaked handling of setting EmojiPlacement=full.
Also enabled emoji space expansion for numbers and flag letters, even without that setting.

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

No branches or pull requests

2 participants