MCPcopy
hub / github.com/pterm/pterm / WithText

Method WithText

spinner_printer.go:56–59  ·  view source on GitHub ↗

WithText adds a text to the SpinnerPrinter.

(text string)

Source from the content-addressed store, hash-verified

54
55// WithText adds a text to the SpinnerPrinter.
56func (s SpinnerPrinter) WithText(text string) *SpinnerPrinter {
57 s.Text = text
58 return &s
59}
60
61// WithSequence adds a sequence to the SpinnerPrinter.
62func (s SpinnerPrinter) WithSequence(sequence ...string) *SpinnerPrinter {

Callers 3

RunWithDefaultSpinnerFunction · 0.45

Calls

no outgoing calls

Tested by 2