mirror of
https://github.com/anomalyco/opentui.git
synced 2026-04-25 21:15:52 +03:00
[PR #482] [CLOSED] feat(core): add Intl.Segmenter for grapheme cluster handling #1351
Labels
No labels
bug
core
documentation
feature
good first issue
help wanted
pull-request
question
react
solid
tmux
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/opentui#1351
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/anomalyco/opentui/pull/482
Author: @GreyElaina
Created: 1/7/2026
Status: ❌ Closed
Base:
main← Head:core-grapheme-segmenter📝 Commits (1)
318db8bfeat(core): add Intl.Segmenter for grapheme cluster handling📊 Changes
4 files changed (+505 additions, -6 deletions)
View changed files
📝
bun.lock(+416 -4)📝
packages/core/package.json(+1 -0)➕
packages/core/src/lib/grapheme-segmenter.ts(+85 -0)📝
packages/core/src/lib/parse.keypress.ts(+3 -2)📄 Description
Adds
Intl.Segmenterbased grapheme cluster handling for proper Unicode text segmentation.Changes
grapheme-segmenter.tsutility usingIntl.Segmenterparse.keypress.tsfor correct character boundary detectionThis is foundational work for proper emoji and CJK text handling in input buffers.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.