MCPcopy Create free account
hub / github.com/charmbracelet/bubbles / WithFillCharacters

Function WithFillCharacters

progress/progress.go:134–139  ·  view source on GitHub ↗

WithFillCharacters sets the characters used to construct the full and empty components of the progress bar.

(full rune, empty rune)

Source from the content-addressed store, hash-verified

132// WithFillCharacters sets the characters used to construct the full and empty
133// components of the progress bar.
134func WithFillCharacters(full rune, empty rune) Option {
135 return func(m *Model) {
136 m.Full = full
137 m.Empty = empty
138 }
139}
140
141// WithoutPercentage hides the numeric percentage.
142func WithoutPercentage() Option {

Callers 1

TestBlendFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestBlendFunction · 0.68