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

jedib0t / go-pretty
100%
main: 100%

Build:
Build:
LAST BUILD BRANCH: fix/snip-indicator-width
DEFAULT BRANCH: main
Repo Added 09 May 2018 12:32AM UTC
Files 44
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

LAST BUILD ON BRANCH fix/snip-indicator-width
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • FoamCactus-PR
  • actions-versions
  • align-auto
  • auto-merge-unit-test
  • autoindex-padding-width
  • automerge-bugs
  • automerge-fixes
  • azure-pipelines
  • bidi-support
  • bug-170
  • bug-fixes
  • carriage-return
  • ci-badge-fix
  • circleci-fix
  • claude/objectives-list-dimming-l8v2e0
  • code-smell-fixes
  • color-windows
  • colors-fix
  • colors256
  • column-config
  • coveralls-actions
  • coveralls-pro
  • crop-table-image
  • debugging
  • demo-fix
  • dependabot/go_modules/golang.org/x/sys-0.1.0
  • doc
  • doc-fixes
  • documentation-updates
  • examples
  • feat/suppress-clipped-empty-rows
  • feature-321
  • fix-174
  • fix-220
  • fix-221
  • fix-248
  • fix-261-automerge-wrap
  • fix-279
  • fix-285
  • fix-329
  • fix-337
  • fix-340
  • fix-366
  • fix-395
  • fix-405
  • fix-automerge-wrap-stacking
  • fix-docs
  • fix-go-ref
  • fix-go-report-card
  • fix-gocyclo
  • fix-issue-359
  • fix-issue-426
  • fix-panic
  • fix-readability
  • fix-readme
  • fix-sonar
  • fix-stripescape-hyperlinks
  • fix-trim-display-width
  • fix-wrap-wide-rune-overflow
  • fix/OSC_8_hiperlink
  • fix/align-huge-maxlength
  • fix/automerge-column-width-remainder
  • fix/hyperlink-wrapping
  • fix/insert-every-n-byte-offset
  • fix/justify-text-cjk-panic
  • fix/min-int64-number-transformer
  • fix/repeat-display-width
  • fix/snip-indicator-width
  • fix/stringwidth-box-drawing
  • fix/tracker-start-race
  • fix/trim-snip-grapheme-clusters
  • fix/unix-timestamp-subseconds
  • fix/wrap-wide-runes-odd-wraplen
  • flink-yarn-interpreter
  • github-actions-1
  • github-templates
  • gomod
  • hardening-fixes
  • jedib0t-patch-1
  • list-fixes
  • main
  • main-fixes
  • master
  • minor-build-fixes
  • minor-fix
  • minor-fixes
  • organize-tests
  • pager
  • patch-1
  • performance-optimizations
  • progress
  • progress-autoresize
  • progress-dbz-fix
  • progress-demo-update-message
  • progress-error-ut
  • progress-eta
  • progress-fix
  • progress-fixes
  • progress-gif
  • progress-indeterminate
  • progress-log
  • progress-optimize
  • progress-overall
  • progress-pinned
  • progress-race
  • progress-readme
  • progress-set-value
  • progress-simplify
  • progress-sort-by-index
  • progress-speed
  • progress-test-speedup
  • progress-update-message
  • progress-update-msg
  • progress-ut-speedup
  • progress-width
  • progressbar-eta
  • prompt
  • pull-172-rebased
  • readme
  • readme-fix
  • rebalance_long_merged_columns
  • refs/tags/v6.1.1
  • refs/tags/v6.2.0
  • refs/tags/v6.2.1
  • refs/tags/v6.2.2
  • refs/tags/v6.2.3
  • refs/tags/v6.2.4
  • refs/tags/v6.2.5
  • refs/tags/v6.2.6
  • refs/tags/v6.2.7
  • refs/tags/v6.3.0
  • refs/tags/v6.3.1
  • refs/tags/v6.3.2
  • refs/tags/v6.3.3
  • refs/tags/v6.3.4
  • refs/tags/v6.3.5
  • refs/tags/v6.3.6
  • refs/tags/v6.3.7
  • refs/tags/v6.3.8
  • refs/tags/v6.3.9
  • refs/tags/v6.4.0
  • refs/tags/v6.4.1
  • refs/tags/v6.4.2
  • refs/tags/v6.4.3
  • refs/tags/v6.4.4
  • refs/tags/v6.4.5
  • refs/tags/v6.4.6
  • refs/tags/v6.4.7
  • refs/tags/v6.4.8
  • refs/tags/v6.4.9
  • refs/tags/v6.5.0
  • refs/tags/v6.5.1
  • refs/tags/v6.5.2
  • refs/tags/v6.5.3
  • refs/tags/v6.5.4
  • refs/tags/v6.5.5
  • refs/tags/v6.5.6
  • refs/tags/v6.5.7
  • refs/tags/v6.5.8
  • refs/tags/v6.5.9
  • refs/tags/v6.6.0
  • refs/tags/v6.6.1
  • refs/tags/v6.6.2
  • refs/tags/v6.6.3
  • refs/tags/v6.6.4
  • refs/tags/v6.6.5
  • refs/tags/v6.6.6
  • refs/tags/v6.6.7
  • refs/tags/v6.6.8
  • refs/tags/v6.6.9
  • refs/tags/v6.7.0
  • refs/tags/v6.7.1
  • refs/tags/v6.7.10
  • refs/tags/v6.7.2
  • refs/tags/v6.7.3
  • refs/tags/v6.7.4
  • refs/tags/v6.7.5
  • refs/tags/v6.7.6
  • refs/tags/v6.7.7
  • refs/tags/v6.7.8
  • refs/tags/v6.7.9
  • refs/tags/v6.8.0
  • refs/tags/v6.8.1
  • refs/tags/v6.8.2
  • refs/tags/v6.8.3
  • render-funcs
  • rune-width
  • sonar-badge
  • sonar-fixes
  • stdout
  • table-allowed-col-length
  • table-auto-merge
  • table-auto-width
  • table-autoindex
  • table-autoindex-fix
  • table-automerge
  • table-better-borders
  • table-border-colors
  • table-colors
  • table-complete-merge
  • table-cr
  • table-custom-horizontals
  • table-custom-sort
  • table-demo-fix
  • table-doc
  • table-filter-by
  • table-fix-paging
  • table-fixes
  • table-hf-align
  • table-hidden-columns
  • table-html
  • table-html-colors
  • table-import
  • table-manual-separator
  • table-markdown-padding
  • table-merge-align
  • table-merge-horizontal
  • table-merge-resize
  • table-merge-row
  • table-new-interfaces
  • table-paging
  • table-paging-am
  • table-readme
  • table-reset
  • table-reset-rows
  • table-row-painter
  • table-sort
  • table-style
  • table-styles
  • table-suppress-empty-columns
  • table-title
  • table-title-border-color
  • table-typeconv-fix
  • table-vmerge-html
  • table-width-enforcer
  • table-wrap-merge
  • text-InsertEveryN-fixes
  • text-better-doc
  • text-box-drawing
  • text-color
  • text-colors-256
  • text-cr
  • text-encode
  • text-escape
  • text-format-escseq
  • text-refactor
  • text-strfmt-datetime
  • text-wrap
  • text-wrap-fix
  • text-wrapping-fix
  • title-border-color
  • tracker-set-value
  • transformer-fixes
  • update-deps
  • update-readme
  • v2.0.0
  • v2.1.0
  • v2.2.0
  • v2.3.0
  • v2.4.0
  • v2.5.0
  • v3.0.0
  • v3.0.1
  • v3.1.0
  • v3.1.1
  • v3.2.0
  • v3.3.0
  • v3.3.1
  • v3.3.2
  • v4.0.0
  • v4.0.1
  • v4.0.2
  • v4.0.3
  • v4.1.0
  • v4.2.0
  • v4.2.1
  • v4.3.0
  • v5
  • v5.0.0
  • v5.0.1
  • v5.0.2-alpha
  • v5.1.0
  • v6
  • v6.0.0
  • v6.0.0-alpha
  • v6.0.1
  • v6.0.2
  • v6.0.3
  • v6.0.4
  • v6.0.5
  • v6.0.6
  • v6.1.0
  • workflow-cron

23 Oct 2026 06:37AM UTC coverage: 100.0%. Remained the same
39913107077

Pull #438

github

Don-Yin
text: trim snip indicators to the target width

Trim the indicator before reserving its display width, so a short target
cannot be exceeded by the indicator alone. Reuse Trim to retain ANSI
sequences and account for wide characters.

Signed-off-by: Don Yin <Don_Yin@outlook.com>
Pull Request #438: text: trim snip indicators to the target width

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

5165 of 5165 relevant lines covered (100.0%)

1.21 hits per line

Relevant lines Covered
Build:
Build:
5165 RELEVANT LINES 5165 COVERED LINES
1.21 HITS PER LINE
Source Files on main
  • Tree
  • List 44
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
39913107077 fix/snip-indicator-width text: trim snip indicators to the target width Trim the indicator before reserving its display width, so a short target cannot be exceeded by the indicator alone. Reuse Trim to retain ANSI sequences and account for wide characters. Signed-off-by... Pull #438 23 Oct 2026 06:43AM UTC Don-Yin github
100.0
39819707428 fix/tracker-start-race progress: hold the lock while checking timeStart in Tracker.Start Pull #437 22 Oct 2026 05:07PM UTC troclaux github
100.0
39644424062 fix-automerge-wrap-stacking table: skip stacking vertically-merged rows that would misplace values Rows of a vertical merge are stacked into one block since #411, but the block is still passed through the column's WidthMaxEnforcer as a whole. Enforcers like text.WrapSoft, t... Pull #436 21 Oct 2026 05:31PM UTC nk-batman21 github
100.0
39322571715 fix-issue-426 refactor: reduce cyclomatic complexity to satisfy gocyclo threshold Pull #432 19 Oct 2026 08:50PM UTC AdamMagued github
99.92
39307114196 main text: keep wrapped lines within wrapLen when a wide rune would overflow (#435) push 19 Oct 2026 07:00PM UTC web-flow github
100.0
39306915940 fix-wrap-wide-rune-overflow text: keep wrapped lines within wrapLen when a wide rune would overflow Pull #435 19 Oct 2026 06:58PM UTC jedib0t github
100.0
39306163029 main table: avoid panic when balancing merged column widths (#427) push 19 Oct 2026 06:53PM UTC web-flow github
100.0
38033147274 fix-wrap-wide-rune-overflow text: keep wrapped lines within wrapLen when a wide rune would overflow Pull #435 10 Oct 2026 07:05AM UTC TheNetherWatcher github
100.0
37964165854 fix-issue-426 refactor: reduce cyclomatic complexity to satisfy gocyclo threshold Pull #432 09 Oct 2026 05:09PM UTC AdamMagued github
99.92
37964034476 fix-issue-359 refactor(table): reduce cyclomatic complexity in isRowLineEmptyDueToClipping Pull #433 09 Oct 2026 05:08PM UTC AdamMagued github
99.68
See All Builds (1193)
  • Repo on GitHub
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