mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-19 03:21:18 +00:00
This adds a new configuration `grapheme-width-method` to change the default behavior that Ghostty uses to calculate grapheme width. The default value is `unicode` which is identical to setting mode 2027. **IMPORTANT:** This changes the default Ghostty behavior to be fully grapheme-aware including ZWJs, VS15, VS16. This may cause issues with some legacy programs and shells. I've changed my mind that this should become the default because enough people use emojis now that I've found in the beta program there are more issues reported about "incorrect emoji width" than any possibly desync issues. We'll see. For legacy programs, this can still be set to `grapheme-width-method = wcswidth`.