Unicode Variation Selector-16 breaks following text #6811
-
This is an upstream issue for: derailed/k9s#3210 k9s recenctly exchanged an emojy, where the new one is followed by U+FE0F. This this introduces typos and more in the text following it. Reverting back to any other emojy that does not have a variation selector fixes the issue seen within Ghostty. iTerm and builtin terminal are not showing this issue. But I see that those VS were already addressed in the past: #1497 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
Can you post a gif or video of the output? I assume this is happening because Ghostty and k9s don't agree on the width or segmentation of the emoji. Very few terminals do correct grapheme segmentation + measurement, ghostty is one of the few (foot, contour, and kitty as of 0.40 are the others). But this is an opt in feature...k9s may not be using that. A video would help so we can see overwrites, but a screenshot may help too |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
https://github.com/contour-terminal/terminal-unicode-core
Basically, if you turn on mode 2027 (for terminals which support it) then they will honor unicode grapheme segmentation