diff --git a/tea.go b/tea.go index bf4779f..75e4cbf 100644 --- a/tea.go +++ b/tea.go @@ -566,13 +566,12 @@ func (p *Program) RestoreTerminal() error { if err := p.initTerminal(); err != nil { return err } - if err := p.initCancelReader(); err != nil { return err } if p.altScreenWasActive { - p.EnterAltScreen() + p.renderer.enterAltScreen() } go p.Send(repaintMsg{})