From fcbc4270985e2012cbd2213e4fad08eb338f8f1e Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 5 Jun 2020 12:47:02 -0400 Subject: [PATCH] Properly shut down renderer when quitting program --- tea.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tea.go b/tea.go index bc44d79..ba47975 100644 --- a/tea.go +++ b/tea.go @@ -140,6 +140,7 @@ func (p *Program) Start() error { // Handle quit message if _, ok := msg.(quitMsg); ok { + mrRenderer.stop() close(done) return nil }