From fbf33e076bfddb797e8e671c351ac42dcc109db3 Mon Sep 17 00:00:00 2001 From: Nils Stinnesbeck Date: Tue, 20 Oct 2026 23:35:36 +0200 Subject: [PATCH] Status bar: advertise F9 for help, which works everywhere Co-Authored-By: Claude Sonnet 5.5 --- SPECS.md | 4 ++-- internal/ui/app.go | 2 +- internal/ui/help.go | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/SPECS.md b/SPECS.md index d2e556d..884d534 100644 --- a/SPECS.md +++ b/SPECS.md @@ -97,7 +97,7 @@ Layout sketch (Library view; the other views follow the same frame): │ ● Show One (2008) 12/62 │ │ │ ○ Show Two (2015) 10/10 │ │ ├────────────────────────────────┴───────────────────────────────────┤ -│ Tab movies/series · f filter · / text · t monitor · ? help · q quit │ ← key hints of the current view +│ Tab movies/series · f filter · / text · t monitor · F9 help · q quit │ ← key hints of the current view └────────────────────────────────────────────────────────────────────┘ ``` @@ -111,7 +111,7 @@ Keybindings (the status bar shows the ones that apply to the current view): |---|---| | `F1-F7` | Switch view (Movies, Series, Library, Downloads, Calendar, Log, Config); also while typing, and from full-screen views. Dialogs block them. | | `Tab` / `Shift+Tab` | Switch panel within the current view (never the view): search box / results, Downloads panels, Library lists | -| `?` / `F9` | Help (`F9` also works while typing) | +| `F9` / `?` | Help. `F9` works everywhere; `?` only when no text field has the focus (it is text in search boxes and in the Config view) | | `q` / `Ctrl+C` | Quit | | `Esc` | Close a dialog or a full-screen view | | `/` | Movies, Series, Library: focus the search / text filter | diff --git a/internal/ui/app.go b/internal/ui/app.go index 78f7904..d761920 100644 --- a/internal/ui/app.go +++ b/internal/ui/app.go @@ -373,7 +373,7 @@ func (a *App) renderStatus() { if v.captureKeys { // q and ? are text there parts = append(parts, "F9 help · F1-F7 views") } else { - parts = append(parts, "? help · F1-F7 · q quit") + parts = append(parts, "F9 help · F1-F7 · q quit") } hints = strings.Join(parts, " · ") } diff --git a/internal/ui/help.go b/internal/ui/help.go index b7c023f..e0194c6 100644 --- a/internal/ui/help.go +++ b/internal/ui/help.go @@ -8,7 +8,8 @@ import ( const helpText = `[yellow]Global[-] F1-F7 switch view (also from the release and episode lists) Tab, Shift+Tab switch panel within a view - ?, F9 this help (F9 works while typing) + F9, ? this help. F9 works everywhere; ? only when no text + field has the focus (press Esc first in a search box) q, Ctrl+C quit Esc close dialog / go back