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

charmbracelet / lipgloss
65%
main: 65%

Build:
Build:
LAST BUILD BRANCH: table-width-fit
DEFAULT BRANCH: main
Repo Added 05 Sep 2022 02:17AM UTC
Token PuZJ3AyGJyq9ZehIXzoHqfNjZcP4lgD5h regen
Build 1932 Last
Files 32
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 table-width-fit
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 20220903-changes
  • 20221104-lipgloss-convert
  • add-inner-border
  • add-test-for-join-horizontal
  • bb-tests
  • border
  • border-interface
  • borderstyle-border-sizes
  • box-with-label
  • bring-tree-back
  • bring-tree-back-v2
  • build-examples
  • build/upgrade-dependencies
  • bump-go
  • canvas
  • charm-1184-readme-content-update
  • chore/bump-uv-ansi
  • chore/fix-lint
  • chore/lint
  • chore/update-golden
  • ci
  • ci-goos
  • ci/sync-dependabot-config
  • clear-row-fix
  • clipperhouse/first-rune-allocs
  • clipperhouse/maxrune-performance
  • codeowners
  • column-wrapping
  • concurrency-test
  • copy-cleanup
  • copy-docs
  • coverage
  • dependabot/github_actions/actions/checkout-3
  • dependabot/github_actions/actions/checkout-3.1.0
  • dependabot/github_actions/actions/checkout-3.2.0
  • dependabot/github_actions/actions/checkout-3.3.0
  • dependabot/github_actions/actions/checkout-3.4.0
  • dependabot/github_actions/actions/checkout-3.5.0
  • dependabot/github_actions/actions/checkout-3.5.1
  • dependabot/github_actions/actions/checkout-3.5.2
  • dependabot/github_actions/actions/checkout-3.5.3
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/setup-go-3
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/all-167a898cab
  • dependabot/github_actions/all-640176b5ab
  • dependabot/github_actions/all-76468cb07f
  • dependabot/github_actions/all-e986305a06
  • dependabot/github_actions/golangci/golangci-lint-action-3
  • dependabot/github_actions/golangci/golangci-lint-action-4
  • dependabot/github_actions/golangci/golangci-lint-action-5
  • dependabot/github_actions/golangci/golangci-lint-action-6
  • dependabot/go_modules/all-0d16155629
  • dependabot/go_modules/all-20865b7174
  • dependabot/go_modules/all-69f1e15b2e
  • dependabot/go_modules/all-7c1956fefe
  • dependabot/go_modules/all-9bb1109951
  • dependabot/go_modules/all-a0a92412a4
  • dependabot/go_modules/all-b3be946bf6
  • dependabot/go_modules/all-d54a6f1562
  • dependabot/go_modules/all-e0c3ce4837
  • dependabot/go_modules/all-ec1cff6765
  • dependabot/go_modules/examples/golang.org/x/crypto-0.1.0
  • dependabot/go_modules/examples/golang.org/x/crypto-0.17.0
  • dependabot/go_modules/examples/golang.org/x/crypto-0.31.0
  • dependabot/go_modules/examples/golang.org/x/crypto-0.35.0
  • dependabot/go_modules/github.com/aymanbagabas/go-udiff-0.3.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.1.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.10.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.2.3
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.1
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.3.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.3
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.4.5
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.5.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.5.2
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.6.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.8.0
  • dependabot/go_modules/github.com/charmbracelet/x/ansi-0.9.3
  • dependabot/go_modules/github.com/charmbracelet/x/cellbuf-0.0.13
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.14
  • dependabot/go_modules/github.com/mattn/go-runewidth-0.0.15
  • dependabot/go_modules/github.com/muesli/termenv-0.16.0
  • dependabot/go_modules/github.com/rivo/uniseg-0.4.7
  • dependabot/go_modules/github.com/stretchr/testify-1.8.0
  • dependabot/go_modules/github.com/stretchr/testify-1.8.1
  • deprecate-UnsetBorderTopBackgroundColor
  • deprecate-color-whitespace
  • deprecate-unset-color-whitespace
  • deps
  • diaeresis
  • dlvhdr/tree-improvemnts
  • docs-fix-list
  • docs-update
  • docs-width
  • docs/fix-table-comment-typo-20260331
  • docs/fix-tree-comment-20260320
  • documentation
  • drop-tree
  • editorconfig
  • example-gomod
  • explicit-cp
  • faq
  • feat-halfblocks-support
  • feat-join-with-borders
  • feat-support-js
  • feat/fix-int-size-propkey
  • feature/blend-equal-steps-noop
  • feature/border-blending
  • feature/canvas-edge-cases
  • feature/colors-blending-brightness
  • feature/recursive-layer-rendering
  • fix-108
  • fix-116
  • fix-32bit-archs
  • fix-GetBorderRightSize
  • fix-GetBorderSizes
  • fix-TestTreeCustom
  • fix-background-color-hang
  • fix-border-width-calculation
  • fix-border-width-getters
  • fix-borderrow
  • fix-carriage-returns
  • fix-clearRows
  • fix-completecolor
  • fix-height
  • fix-pokemon-romanization
  • fix-race
  • fix-renderer-output
  • fix-spaces-styling
  • fix-style-sizing
  • fix-stylefunc
  • fix-table-examples
  • fix-table-right-align-text
  • fix-table-shrink-with-offset
  • fix-table-viewport
  • fix-transform
  • fix-tree-examples
  • fix-typo-in-readme
  • fix/108-tab-infinite-loop
  • fix/ansi-truncate
  • fix/empty-string-pad-right
  • fix/issue-356-use-table-height
  • fix/maximum-width
  • fix/style-render-width-include-borders
  • fix/table-column-min-width-floor
  • fix/underline-color-getter
  • fix/wrapwriter-use-after-close
  • glamour-423
  • godoc/tree
  • golang119
  • golanglint-ci-v2
  • golden-tests
  • gomodtidy
  • goreleaser
  • header-strings
  • hidden
  • hide-children
  • hyperlink
  • improve-godoc
  • issue-520-poc
  • issue-template
  • its-inline-border-time
  • layer-drawable
  • lint
  • lint-sync
  • linters
  • list
  • list-docs
  • list-example
  • list-items
  • list-title
  • list-tree
  • locational-frame-sizes
  • maaslalani-patch-1
  • main
  • master
  • mieubrisse/fix-border-width-bug
  • modify-children
  • nbsp
  • next
  • nilaway
  • offset-docs
  • padchar
  • patch-1
  • patch-4
  • perf/wrapwriter-batched-writes
  • pokedex-edits
  • rainbow
  • ramp
  • readme
  • readme-footer
  • readme/table-example
  • recursive-walk
  • refactor-termenv
  • refactor/padding
  • refs/tags/v0.10.0
  • refs/tags/v0.11.0
  • refs/tags/v0.11.1
  • refs/tags/v0.12.0
  • refs/tags/v0.12.1
  • refs/tags/v0.13.0
  • refs/tags/v0.13.1
  • refs/tags/v0.7.0
  • refs/tags/v0.7.1
  • refs/tags/v0.8.0
  • refs/tags/v0.9.0
  • refs/tags/v0.9.1
  • refs/tags/v1.0.0
  • refs/tags/v1.1.0
  • refs/tags/v2.0.0
  • refs/tags/v2.0.0-alpha.1
  • refs/tags/v2.0.0-alpha.2
  • refs/tags/v2.0.0-beta.1
  • refs/tags/v2.0.0-beta.2
  • refs/tags/v2.0.0-beta.3
  • refs/tags/v2.0.0-beta1
  • refs/tags/v2.0.1
  • refs/tags/v2.0.2
  • refs/tags/v2.0.3
  • refs/tags/v2.0.4
  • refs/tags/v2.0.5
  • refs/tags/v2.0.6
  • renderer
  • rendererpp
  • resizing-typo
  • retract-v0.7
  • screenshot
  • simon/fix-place
  • style-merge
  • style-mutex
  • style-range
  • syncmap
  • table
  • table-ascii
  • table-docs
  • table-golden-files
  • table-header-nits-416
  • table-header-truncate
  • table-nil-panic-for-no-stylefunc
  • table-no-wrap-ellipsis-fix
  • table-normal-border-524
  • table-resize
  • table-width-fit
  • tablemodel
  • tabs
  • tabs-readme
  • term/ansi-strip
  • termenv
  • termenv-defaultoutput
  • tidy
  • transform
  • tree
  • tree-bg
  • tree-clean
  • tree-enumerators
  • tree-filetree-example
  • tree-final
  • tree-final-wrap-wrap
  • tree-states-example
  • tree-toggle-example
  • tree/godoc
  • typos
  • ultrabump
  • update-contributing
  • update-lightdark
  • update-linter
  • update-pkg-import
  • use-ansi
  • use-ansi-style
  • use-lipgloss-table
  • use-terminfo
  • use-tree-enumerators
  • v2-adaptive-standalone
  • v2-canvas
  • v2-color-func
  • v2-colors
  • v2-complete
  • v2-complete-color
  • v2-compositing
  • v2-compositing-edit
  • v2-detectbg
  • v2-examples
  • v2-exp
  • v2-exp-merge
  • v2-exp-modernize
  • v2-fix-borderrow
  • v2-fix-examples
  • v2-godoc
  • v2-hyperlinks
  • v2-impure
  • v2-lint-crush
  • v2-nbsp
  • v2-no-input
  • v2-query
  • v2-query-win
  • v2-remove-renderers
  • v2-rename-offset
  • v2-table-fixes
  • v2-tests
  • v2-transform
  • v2-underline
  • v2-upgrade
  • v2-uv-canvas
  • who-needs-copy
  • widest
  • wrap
  • wrapwrap

09 Sep 2026 01:36PM UTC coverage: 65.004% (+0.09%) from 64.91%
34358164377

Pull #697

github

pete-woods
Add `FitContent` property to table renderer

- In this mode, the table will only take up the minimum space, even when a terminal width is provided to the renderer.
Pull Request #697: feat: add `FitContent` property to table renderer

13 of 13 new or added lines in 2 files covered. (100.0%)

2671 of 4109 relevant lines covered (65.0%)

590.92 hits per line

Relevant lines Covered
Build:
Build:
4109 RELEVANT LINES 2671 COVERED LINES
590.92 HITS PER LINE
Source Files on main
  • Tree
  • List 32
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
34358164377 table-width-fit Add `FitContent` property to table renderer - In this mode, the table will only take up the minimum space, even when a terminal width is provided to the renderer. Pull #697 09 Sep 2026 02:17PM UTC pete-woods github
65.0
33572439668 main perf(wrap): size the buffer in Wrap up front The writer only inserts resets around newlines, so the output length is known within a few percent. Growing from zero recopied the string several times. push 01 Sep 2026 11:47PM UTC taciturnaxolotl github
64.91
33463083229 perf/wrapwriter-batched-writes perf(wrap): size the buffer in Wrap up front The writer only inserts resets around newlines, so the output length is known within a few percent. Growing from zero recopied the string several times. Pull #737 01 Sep 2026 02:35AM UTC taciturnaxolotl github
64.91
31638492999 main ci: sync dependabot config (#728) push 12 Aug 2026 08:39PM UTC web-flow github
64.81
31637812555 ci/sync-dependabot-config ci: sync dependabot config Pull #728 12 Aug 2026 08:29PM UTC github-actions[bot] github
64.81
31516831792 refs/tags/v2.0.6 chore(deps): bump uv and ansi (#726) Signed-off-by: drew <me@andrinoff.com> push 11 Aug 2026 05:18PM UTC web-flow github
64.81
31516694051 main chore(deps): bump uv and ansi (#726) Signed-off-by: drew <me@andrinoff.com> push 11 Aug 2026 05:16PM UTC web-flow github
64.81
31516351136 chore/bump-uv-ansi chore(deps): bump uv and ansi Signed-off-by: drew <me@andrinoff.com> Pull #726 11 Aug 2026 05:12PM UTC andrinoff github
64.81
31372808989 dependabot/go_modules/all-a0a92412a4 chore(deps): bump github.com/lucasb-eyer/go-colorful in the all group Bumps the all group with 1 update: [github.com/lucasb-eyer/go-colorful](https://github.com/lucasb-eyer/go-colorful). Updates `github.com/lucasb-eyer/go-colorful` from 1.4.0 t... Pull #725 10 Aug 2026 09:03AM UTC web-flow github
64.81
29729967495 dependabot/github_actions/all-e986305a06 chore(deps): bump actions/setup-go from 6 to 7 in the all group Bumps the all group with 1 update: [actions/setup-go](https://github.com/actions/setup-go). Updates `actions/setup-go` from 6 to 7 - [Release notes](https://github.com/actions/setu... Pull #716 20 Jul 2026 09:03AM UTC web-flow github
64.81
See All Builds (1529)

Badge your Repo: lipgloss

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • 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