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