MCPcopy
hub / github.com/pterm/pterm / WithPanels

Method WithPanels

panel_printer.go:36–39  ·  view source on GitHub ↗

WithPanels returns a new PanelPrinter with specific options.

(panels Panels)

Source from the content-addressed store, hash-verified

34
35// WithPanels returns a new PanelPrinter with specific options.
36func (p PanelPrinter) WithPanels(panels Panels) *PanelPrinter {
37 p.Panels = panels
38 return &p
39}
40
41// WithPadding returns a new PanelPrinter with specific options.
42func (p PanelPrinter) WithPadding(padding int) *PanelPrinter {

Callers 11

TestPanelPrinter_RenderFunction · 0.80
SrenderMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls