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

gookit / color / 24497311434
99%

Build:
DEFAULT BRANCH: master
Ran 16 Apr 2026 07:16AM UTC
Jobs 8
Files 12
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

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

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

5 of 7 new or added lines in 1 file covered. (71.43%)

1478 of 1500 relevant lines covered (98.53%)

8.86 hits per line

Uncovered Changes

Lines Coverage ∆ File
2
98.04
-1.96% color.go
Jobs
ID Job ID Ran Files Coverage
1 Go-stable - 24497311434.1 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
2 Go-1.23 - 24497311434.2 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
3 Go-1.22 - 24497311434.3 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
4 Go-1.24 - 24497311434.4 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
5 Go-1.19 - 24497311434.5 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
6 Go-1.20 - 24497311434.6 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
7 Go-1.21 - 24497311434.7 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
8 Go-1.18 - 24497311434.8 16 Apr 2026 07:16AM UTC 12
98.53
GitHub Action Run
Source Files on build 24497311434
  • Tree
  • List 12
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • e58a8999 on github
  • Prev Build on master (#24432699620)
  • Next Build on master (#25218256782)
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