MCPcopy
hub / github.com/pterm/pterm / WithFullWidth

Method WithFullWidth

header_printer.go:53–56  ·  view source on GitHub ↗

WithFullWidth enables full width on a HeaderPrinter.

(b ...bool)

Source from the content-addressed store, hash-verified

51
52// WithFullWidth enables full width on a HeaderPrinter.
53func (p HeaderPrinter) WithFullWidth(b ...bool) *HeaderPrinter {
54 p.FullWidth = internal.WithBoolean(b)
55 return &p
56}
57
58// WithWriter sets the custom Writer.
59func (p HeaderPrinter) WithWriter(writer io.Writer) *HeaderPrinter {

Callers 6

mainFunction · 0.80
introScreenFunction · 0.80
showcaseFunction · 0.80

Calls 1

WithBooleanFunction · 0.92