feat: navigate back through views with Escape and minus

This commit is contained in:
2026-10-11 16:41:26 +02:00
parent 1a13fa8f47
commit b2f8407309
2 changed files with 129 additions and 6 deletions
+4 -1
View File
@@ -59,7 +59,8 @@ Each selection opens an independent player instance without replacing existing p
| `g` / Home, `G` / End | Select the first / last loaded video |
| `i` | Edit the search query |
| `d` | Open video info; press again for the full description, again to return to info |
| Esc | Close the preview |
| Esc | Close the preview; otherwise return to the previous view |
| `-` | Return to the previous view |
| `c` | Browse saved categories |
| `u` | Browse an individual saved channel |
| `U` (Shift-U) | Open the selected video's channel |
@@ -71,6 +72,8 @@ Each selection opens an independent player instance without replacing existing p
**Ctrl-C quits from any mode or popup.**
Back navigation restores cached videos, selection, and pagination, including replaced temporary tabs. Removed views are skipped; with no history, the current view stays put. Esc first closes a dialog or leaves insert mode without navigating. Minus remains ordinary text inside input fields.
The full-description view scrolls with ↓ / ↑, Ctrl-J / Ctrl-K, or PageDown / PageUp. Plain `j` / `k` still changes the selected video. The bold title, dimmed author/publication row, and description scroll together.
### Text input
+125 -5
View File
File diff suppressed because one or more lines are too long