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

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

Build:
Build:
LAST BUILD BRANCH: fix/align-huge-maxlength
DEFAULT BRANCH: main
Ran 18 Aug 2026 09:43AM 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

18 Aug 2026 09:42AM UTC coverage: 100.0%. Remained the same
32122994713

push

github

claude
text: stop re-opening closed escape sequences on wrapped lines

When wrapping text whose escape sequence was closed mid-string (e.g. a dim
segment followed by a reset and plain text), wrapHard/wrapSoft kept the stale
open sequence in lastSeenEscSeq: EscSeqParser.ParseString returns "" once all
codes are closed, but the 'if openEscSeq != ""' guard never let that clear the
variable. Every subsequent wrapped line was then re-opened with the old
formatting, so e.g. one dim (SGR 2) segment dimmed the rest of the wrapped
block.

Track the sequence state explicitly on both sides of each word: the state
before the word applies to wraps around/inside it (a word like "Snow\x1b[0m"
that closes its own sequence must still re-open the color for its wrapped
head), and the state after the word applies to any wraps that follow it.

Added regression tests for WrapHard, WrapSoft, and WrapText covering a
dim-then-reset string; the continuation lines after the reset now come out
unstyled.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VycbcuWhTfRp43tfdQYtmR

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

5161 of 5161 relevant lines covered (100.0%)

1.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 32122994713.1 18 Aug 2026 09:43AM UTC 44
100.0
GitHub Action Run
Source Files on build 32122994713
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4cf5e306 on github
  • Prev Build on refs/tags/v6.8.3 (#29705022464)
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