Skip to content

Commit

Permalink
Omit unhandled error
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Mar 12, 2021
1 parent 231fa2c commit 72ae328
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tea.go
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,9 @@ func (p *Program) Start() error {
if err != nil {
return err
}
defer p.restoreTerminal()
defer func() {
_ = p.restoreTerminal()
}()
}

// Initialize program
Expand Down

0 comments on commit 72ae328

Please sign in to comment.