helix icon indicating copy to clipboard operation
helix copied to clipboard

Glitching when texts contain some Unicode symbols

Open Hapenia-Lans opened this issue 2 years ago • 5 comments

bug

the code snippet:

if ui.button("🗙").clicked() {
    self.mark_as_delete = Some(i);
}

Hapenia-Lans avatar Jan 11 '23 09:01 Hapenia-Lans

What terminal are you using? I can't reproduce this with kitty 0.26.2

Please use the bug report template in the future.

the-mikedavis avatar Jan 11 '23 14:01 the-mikedavis

Microsoft Terminal in Windows 11 22H2

Hapenia-Lans avatar Jan 11 '23 15:01 Hapenia-Lans

This may be a bug with Microsoft Terminal. It's notoriously been a bit buggy.

Edit: I can reproduce w/ wezterm 20220905-102802-7d4b8249 and alacritty 0.11 Capture

The glyph is a placeholder as the font doesn't support the codepoint.

kirawi avatar Jan 11 '23 22:01 kirawi

This might be #4932

CptPotato avatar Jan 12 '23 11:01 CptPotato

Perhaps it's related, but according to Unicode it isn't an emoji: https://util.unicode.org/UnicodeJsps/character.jsp?a=1F5D9 It seems like it should have a width of 1. I've heard that Kitty is a lot more tolerant of these kinds of issues than other terminals.

kirawi avatar Jan 13 '23 22:01 kirawi

Closing in favor of https://github.com/helix-editor/helix/issues/6012

pascalkuthe avatar Feb 16 '23 00:02 pascalkuthe