MCPcopy
hub / github.com/pterm/pterm / PanelPrinter

Struct PanelPrinter

panel_printer.go:26–33  ·  view source on GitHub ↗

PanelPrinter prints content in boxes.

Source from the content-addressed store, hash-verified

24
25// PanelPrinter prints content in boxes.
26type PanelPrinter struct {
27 Panels Panels
28 Padding int
29 BottomPadding int
30 SameColumnWidth bool
31 BoxPrinter BoxPrinter
32 Writer io.Writer
33}
34
35// WithPanels returns a new PanelPrinter with specific options.
36func (p PanelPrinter) WithPanels(panels Panels) *PanelPrinter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected