The char "8️⃣" should take up two columns bc it has the FE0F codepoint #4334
Replies: 3 comments 5 replies
-
|
P.S.:
|
Beta Was this translation helpful? Give feedback.
-
|
Removing these lines resolves the issue ghostty/src/terminal/Terminal.zig Lines 343 to 346 in 0306c59 Although perhaps there could be a cleaner solution for these special "emojified keycap characters" see the different behavior on the 3 following files |
Beta Was this translation helpful? Give feedback.
-
|
Side note, the emoji character you chose to demostrate the behavior " |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I noticed that "8️⃣" (U+20E3 , U+FE0F) has the emoji presentation variation selector, but is rendered as a char of column width 1 - that is it looks like it should take up two chars but it just overlaps with the next char.
Try to cat this or open this in an editor that can handle Unicode characters and notice how the "8️⃣" is overlapped.
Screenshot:

Test text:
Test file:
eight.txt
Beta Was this translation helpful? Give feedback.
All reactions