This commit is contained in:
2026-02-19 11:50:25 -06:00
parent 94fab7acee
commit 385b6ea67c
3 changed files with 276 additions and 94 deletions

View File

@@ -149,7 +149,12 @@ func (a *App) PostEvent(ev tcell.Event) error {
func (a *App) Sync() { a.tScreen.Sync() }
func (a *App) ClearScreen() { a.tScreen.Clear() }
func (a *App) Exit() { a.running = false }
func (a *App) Cleanup() { a.tScreen.Fini() }
func (a *App) Cleanup() {
a.running = false
a.tScreen.Sync()
a.tScreen.Clear()
a.tScreen.Fini()
}
func (a *App) GetRepo() *data.Repo { return a.repo }