MCPcopy
hub / github.com/pterm/pterm / WithBoxPrinter

Method WithBoxPrinter

panel_printer.go:66–69  ·  view source on GitHub ↗

WithBoxPrinter returns a new PanelPrinter with specific options.

(boxPrinter BoxPrinter)

Source from the content-addressed store, hash-verified

64
65// WithBoxPrinter returns a new PanelPrinter with specific options.
66func (p PanelPrinter) WithBoxPrinter(boxPrinter BoxPrinter) *PanelPrinter {
67 p.BoxPrinter = boxPrinter
68 return &p
69}
70
71// WithWriter sets the custom Writer.
72func (p PanelPrinter) WithWriter(writer io.Writer) *PanelPrinter {

Calls

no outgoing calls