PanelPrinter prints content in boxes.
| 24 | |
| 25 | // PanelPrinter prints content in boxes. |
| 26 | type PanelPrinter struct { |
| 27 | Panels Panels |
| 28 | Padding int |
| 29 | BottomPadding int |
| 30 | SameColumnWidth bool |
| 31 | BoxPrinter BoxPrinter |
| 32 | Writer io.Writer |
| 33 | } |
| 34 | |
| 35 | // WithPanels returns a new PanelPrinter with specific options. |
| 36 | func (p PanelPrinter) WithPanels(panels Panels) *PanelPrinter { |
nothing calls this directly
no outgoing calls
no test coverage detected