MCPcopy
hub / github.com/pterm/pterm / BasicTextPrinter

Struct BasicTextPrinter

basic_text_printer.go:15–18  ·  view source on GitHub ↗

BasicTextPrinter is the printer used to print the input as-is or as specified by user formatting.

Source from the content-addressed store, hash-verified

13
14// BasicTextPrinter is the printer used to print the input as-is or as specified by user formatting.
15type BasicTextPrinter struct {
16 Style *Style
17 Writer io.Writer
18}
19
20// WithStyle adds a style to the printer.
21func (p BasicTextPrinter) WithStyle(style *Style) *BasicTextPrinter {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected