F1-F5 leave full-screen views; dialogs still block them

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-20 19:57:05 +02:00
co-authored by Claude Sonnet 5.5
parent 2dfd018284
commit 6668f91e7a
5 changed files with 46 additions and 13 deletions
+2 -3
View File
@@ -83,7 +83,7 @@ func (a *App) openReleases(title string, fetch func(context.Context) ([]arr.Rele
ctx, cancel := context.WithTimeout(context.Background(), 3*time.Minute)
v.cancel = cancel
v.render() // shows the "searching" placeholder
a.openFull(v.root, "Enter/g grab · s sort · f hide rejected · Esc back")
a.openFull(v.root, "Enter/g grab · s sort · f hide rejected · Esc back", v.cancel)
go func() {
releases, err := fetch(ctx)
@@ -102,8 +102,7 @@ func (a *App) openReleases(title string, fetch func(context.Context) ([]arr.Rele
}
func (v *releasesView) close() {
v.cancel()
v.app.closeModal()
v.app.closeModal() // cancels the running search via the overlay's cleanup
}
func (v *releasesView) setReleases(releases []arr.Release) {