mirror of
https://github.com/taigrr/bubbletea.git
synced 2026-04-02 02:59:09 -07:00
test: quit/kill model after the first render
This commit is contained in:
2
tty.go
2
tty.go
@@ -26,7 +26,7 @@ func (p *Program) initTerminal() error {
|
||||
|
||||
// restoreTerminalState restores the terminal to the state prior to running the
|
||||
// Bubble Tea program.
|
||||
func (p Program) restoreTerminalState() error {
|
||||
func (p *Program) restoreTerminalState() error {
|
||||
p.output.ShowCursor()
|
||||
|
||||
if p.console != nil {
|
||||
|
||||
Reference in New Issue
Block a user