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

gookit / color / 24497311434 / 2
99%
master: 99%

Build:
DEFAULT BRANCH: master
Ran 16 Apr 2026 07:17AM UTC
Files 12
Run time 0s
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

16 Apr 2026 07:15AM UTC coverage: 98.533% (-0.1%) from 98.661%
24497311434.2

push

github

web-flow
fix: re-apply color after nested reset in RenderString (#119)

When Printf receives a pre-colored string as an argument, the
inner color's reset sequence (\033[0m) kills the outer color
for the remainder of the string.

Fix by detecting reset sequences within the string and re-applying
the current color code after each one. This ensures that text
following a nested colored argument retains the outer color.

Before: \033[31mbefore \033[32mgreen\033[0m after\033[0m
                                              ^^^^^ uncolored!
After:  \033[31mbefore \033[32mgreen\033[0m\033[31m after\033[0m
                                            ^^^^^^^^^ red restored!

Fixes #67

1478 of 1500 relevant lines covered (98.53%)

1.11 hits per line

Source Files on job Go-1.23 - 24497311434.2
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 24497311434
  • e58a8999 on github
  • Prev Job for on master (#24432699620.2)
  • Next Job for on master (#25218256782.8)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc