MCPcopy
hub / github.com/pterm/pterm / WithBackgroundStyle

Method WithBackgroundStyle

header_printer.go:41–44  ·  view source on GitHub ↗

WithBackgroundStyle changes the background styling of the header.

(style *Style)

Source from the content-addressed store, hash-verified

39
40// WithBackgroundStyle changes the background styling of the header.
41func (p HeaderPrinter) WithBackgroundStyle(style *Style) *HeaderPrinter {
42 p.BackgroundStyle = style
43 return &p
44}
45
46// WithMargin changes the background styling of the header.
47func (p HeaderPrinter) WithMargin(margin int) *HeaderPrinter {

Callers 4

mainFunction · 0.80
introScreenFunction · 0.80
showcaseFunction · 0.80

Calls

no outgoing calls

Tested by 1