Omit unhandled error

This commit is contained in:
Christian Muehlhaeuser 2021-03-12 01:20:58 +01:00
parent b664dee939
commit d2c1d9bfb0
1 changed files with 3 additions and 1 deletions

4
tea.go
View File

@ -309,7 +309,9 @@ func (p *Program) Start() error {
if err != nil {
return err
}
defer p.restoreTerminal()
defer func() {
_ = p.restoreTerminal()
}()
}
// Initialize program