Skip to content

fix: apply variation selectors to preceding codepoint - #12596

Merged
mitchellh merged 1 commit into
ghostty-org:mainfrom
noib3:vs-to-prev-codepoint
May 22, 2026
Merged

mitchellh merged 1 commit into
ghostty-org:mainfrom
noib3:vs-to-prev-codepoint

Conversation

@noib3

@noib3 noib3 commented May 6, 2026 •

Copy link
Copy Markdown
Contributor

This fixes a bug where the variation selectors (VS15 & VS16) were checked against the first codepoint in a cell instead of the previous codepoint in the cell's grapheme cluster, causing them to be dropped if that first codepoint was not a valid base.

@noib3
noib3 requested a review from a team as a code owner May 6, 2026 08:41
@noib3
noib3 force-pushed the vs-to-prev-codepoint branch from dd51445 to f105aeb Compare May 6, 2026 08:44
This fixes a bug where the variation selectors (VS15 & VS16) were
checked against the first codepoint in a cell instead of the previous
codepoint in the cell's grapheme cluster, causing them to be dropped if
the first codepoint was not a valid base.
@noib3
noib3 force-pushed the vs-to-prev-codepoint branch from f105aeb to 3f11e69 Compare May 6, 2026 08:46
@mitchellh mitchellh added this to the 1.3.2 milestone May 22, 2026

@mitchellh mitchellh left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense! Thanks for the test. Approved pending CI.

@mitchellh
mitchellh merged commit 24d664f into ghostty-org:main May 22, 2026
16 checks passed
@mitchellh mitchellh modified the milestones: 1.3.2, 1.4.0 Oct 13, 2026
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

Successfully merging this pull request may close these issues.

2 participants