fix: restore terminal state on termination signals (#2701)

This commit is contained in:
CatsDeservePets authored and GitHub committed 2026-10-06 23:52:00 +02:00
1 parent 725e63c0a8
commit df5f71c523
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}
}()