From df5f71c523e3c84a03ae0109367648ac2ab95902 Mon Sep 17 00:00:00 2001 From: CatsDeservePets <145048791+CatsDeservePets@users.noreply.github.com> Date: Tue, 6 Oct 2026 23:52:00 +0200 Subject: [PATCH] fix: restore terminal state on termination signals (#2701) --- app.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.go b/app.go index 562d32af..fa027a25 100644 --- a/app.go +++ b/app.go @@ -58,8 +58,8 @@ func newApp(ui *ui, nav *nav) *app { case os.Interrupt: case syscall.SIGHUP, syscall.SIGQUIT, syscall.SIGTERM: app.quit() + app.ui.screen.Fini() os.Exit(3) - return } } }()