MCPcopy
hub / github.com/pterm/pterm / Render

Method Render

panel_printer.go:185–190  ·  view source on GitHub ↗

Render prints the Template to the terminal.

()

Source from the content-addressed store, hash-verified

183
184// Render prints the Template to the terminal.
185func (p PanelPrinter) Render() error {
186 s, _ := p.Srender()
187 Fprintln(p.Writer, s)
188
189 return nil
190}

Callers 1

TestPanelPrinterNilPrintFunction · 0.95

Calls 2

SrenderMethod · 0.95
FprintlnFunction · 0.85

Tested by 1

TestPanelPrinterNilPrintFunction · 0.76