Skip to content

Preserve Prepend graphemes in backward boundary scans - #320

Merged
jquast merged 8 commits into
masterfrom
review/pr-306-merged
Nov 10, 2026
Merged

jquast merged 8 commits into
masterfrom
review/pr-306-merged

Conversation

@jquast

@jquast jquast commented Nov 10, 2026 •

Copy link
Copy Markdown
Owner

This is PR #306 with just one small change, a small performance improvement to the "python fallback" around DELETE, but that is not measured by CodSpeed. And some unrelated documentation changes along the way. Closes #306.

Note that terminal software does/should not write DELETE 0x7f to stdout under any known circumstance, and that different terminals have different varying display widths for this control character, zero width (kitty) or narrow/1 (ghostty). So it is important that we don't go very far out of our way with any performance regression to "measure" them.

I will gather full data with ucs-detect and maybe see what control_codes='parse' should do, it may just be documented about as an unlikely sequence

@codspeed

codspeed Bot commented Nov 10, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 142 untouched benchmarks


Comparing review/pr-306-merged (d7fc15a) with master (6fd6039)

Open in CodSpeed

@codecov

codecov Bot commented Nov 10, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 88.74%. Comparing base (6fd6039) to head (d7fc15a).

Files with missing lines Patch % Lines
libwcwidth/src/grapheme.c 80.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #320      +/-   ##
==========================================
- Coverage   88.74%   88.74%   -0.01%     
==========================================
  Files          41       41              
  Lines        5671     5677       +6     
  Branches     1523     1526       +3     
==========================================
+ Hits         5033     5038       +5     
  Misses        254      254              
- Partials      384      385       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jquast
jquast merged commit c290e10 into master Nov 10, 2026
38 checks passed
@jquast
jquast deleted the review/pr-306-merged branch November 10, 2026 19:01
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