WithFullscreen sets the AreaPrinter height the same height as the terminal, making it fullscreen.
(b ...bool)
| 38 | |
| 39 | // WithFullscreen sets the AreaPrinter height the same height as the terminal, making it fullscreen. |
| 40 | func (p AreaPrinter) WithFullscreen(b ...bool) *AreaPrinter { |
| 41 | p.Fullscreen = internal.WithBoolean(b) |
| 42 | return &p |
| 43 | } |
| 44 | |
| 45 | // WithCenter centers the AreaPrinter content to the terminal. |
| 46 | func (p AreaPrinter) WithCenter(b ...bool) *AreaPrinter { |