WithRemoveWhenDone removes the AreaPrinter content after it is stopped.
(b ...bool)
| 32 | |
| 33 | // WithRemoveWhenDone removes the AreaPrinter content after it is stopped. |
| 34 | func (p AreaPrinter) WithRemoveWhenDone(b ...bool) *AreaPrinter { |
| 35 | p.RemoveWhenDone = internal.WithBoolean(b) |
| 36 | return &p |
| 37 | } |
| 38 | |
| 39 | // WithFullscreen sets the AreaPrinter height the same height as the terminal, making it fullscreen. |
| 40 | func (p AreaPrinter) WithFullscreen(b ...bool) *AreaPrinter { |