MCPcopy
hub / github.com/pterm/pterm / GetContent

Method GetContent

area_printer.go:29–31  ·  view source on GitHub ↗

GetContent returns the current area content.

()

Source from the content-addressed store, hash-verified

27
28// GetContent returns the current area content.
29func (p *AreaPrinter) GetContent() string {
30 return p.content
31}
32
33// WithRemoveWhenDone removes the AreaPrinter content after it is stopped.
34func (p AreaPrinter) WithRemoveWhenDone(b ...bool) *AreaPrinter {

Callers 1

Calls

no outgoing calls

Tested by 1