Skip to content

fix(tui): preserve ASCII punctuation word boundaries with Intl.Segmenter#5067

Merged
mitsuhiko merged 1 commit into
earendil-works:mainfrom
haoqixu:fix-ascii-punctuation-boundaries
May 27, 2026
Merged

fix(tui): preserve ASCII punctuation word boundaries with Intl.Segmenter#5067
mitsuhiko merged 1 commit into
earendil-works:mainfrom
haoqixu:fix-ascii-punctuation-boundaries

Conversation

@haoqixu

@haoqixu haoqixu commented May 27, 2026

Copy link
Copy Markdown
Contributor

Intl.Segmenter treats foo.bar and foo:bar as single word-like segments. This PR splits word-like segments at ASCII punctuation to maintain the existing behavior before #5022.

@mitsuhiko mitsuhiko merged commit b62776e into earendil-works:main May 27, 2026
3 checks passed
hknet pushed a commit to hknet/pi-mono that referenced this pull request May 27, 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