MCPcopy
hub / github.com/pterm/pterm / MultiPrinter

Struct MultiPrinter

multi_live_printer.go:22–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22type MultiPrinter struct {
23 IsActive bool
24 Writer io.Writer
25 UpdateDelay time.Duration
26
27 printers []LivePrinter
28 buffers []*bytes.Buffer
29 area AreaPrinter
30}
31
32// SetWriter sets the writer for the AreaPrinter.
33func (p *MultiPrinter) SetWriter(writer io.Writer) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected