• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jedib0t / go-pretty / 40327139338
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: cursor/progress-stderr-terminal-width-1243
DEFAULT BRANCH: main
Ran 26 Oct 2026 01:03PM UTC
Jobs 1
Files 44
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Oct 2026 01:01PM UTC coverage: 100.0%. Remained the same
40327139338

Pull #429

github

yu2971512385-ui
text: apply the box drawing width override in StringWidth

StringWidth went through runewidth's own StringWidth, which does not know
about the box drawing and block element override that RuneWidth applies, so
the two disagreed in an East Asian locale: StringWidth("┌──┐") came back 8
where RuneWidth says each of those is one cell.

Counted per grapheme cluster through RuneWidth instead, which is runewidth's
own loop plus the override. That also fixes a case the first version of this
patch got wrong: it corrected by subtracting for every box drawing character
in the string, including ones runewidth had never counted, so a Prepend
character joining the box drawing character after it into one cluster lost a
cell -- StringWidth("aツ؀─") came back 3 instead of 4.

With East Asian width off the results are unchanged.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Pull Request #429: text: apply the box drawing width override in StringWidth

15 of 15 new or added lines in 1 file covered. (100.0%)

5175 of 5175 relevant lines covered (100.0%)

1.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40327139338.1 26 Oct 2026 01:03PM UTC 44
100.0
GitHub Action Run
Source Files on build 40327139338
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #429
  • PR Base - main (#39307114196)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc