()
| 23 | } |
| 24 | |
| 25 | func (p *Program) initTerminal() error { |
| 26 | if p.disableRenderer { |
| 27 | return nil |
| 28 | } |
| 29 | return p.initInput() |
| 30 | } |
| 31 | |
| 32 | // restoreTerminalState restores the terminal to the state prior to running the |
| 33 | // Bubble Tea program. |
no test coverage detected