style: add space below keybinding section headers

This commit is contained in:
2026-10-11 18:54:19 +02:00
parent c3f713001d
commit 8dee7eb382
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -77,7 +77,7 @@ These are the default bindings. Overrides in `[keys]` replace an action's bindin
**Ctrl-C quits from any mode or popup.** **Ctrl-C quits from any mode or popup.**
The bottom bar shows essential actions for the current context. Press `?` in normal mode—including selectors and previews—for the full reference. Scroll help with `j` / `k`, arrows, Ctrl-J / Ctrl-K, or PageDown / PageUp; `?` or Esc closes it without changing the underlying view or dialog. In text fields, `?` remains ordinary input. The bottom bar shows essential actions for the current context. Press `?` in normal mode—including selectors and previews—for the full reference. Scroll help with `j` / `k`, arrows, Ctrl-J / Ctrl-K, or PageDown / PageUp; `?` or Esc closes it without changing the underlying view or dialog. In text fields, `?` remains ordinary input.
The overview groups shortcut/action rows under bold section headers such as `VIEWS AND VIDEOS`. Shortcuts and action descriptions remain normal weight; the rows reflect configured bindings rather than showing internal action paths. The overview groups shortcut/action rows under bold section headers such as `VIEWS AND VIDEOS`, with an empty line beneath each header. Shortcuts and action descriptions remain normal weight; the rows reflect configured bindings rather than showing internal action paths.
Back and forward navigation restore cached videos, selection, and pagination, including replaced temporary tabs. Removed views are skipped; empty history leaves the current view unchanged. Opening a different view after going back discards the old forward branch. Esc first closes a dialog or leaves insert mode without navigating. Minus and plus remain ordinary text inside input fields. Back and forward navigation restore cached videos, selection, and pagination, including replaced temporary tabs. Removed views are skipped; empty history leaves the current view unchanged. Opening a different view after going back discards the old forward branch. Esc first closes a dialog or leaves insert mode without navigating. Minus and plus remain ordinary text inside input fields.
+1
View File
@@ -515,6 +515,7 @@ impl Bindings {
for &(heading, rows) in sections { for &(heading, rows) in sections {
text.push_line(""); text.push_line("");
text.push_line(Line::from(Span::raw(heading).bold())); text.push_line(Line::from(Span::raw(heading).bold()));
text.push_line("");
for &(actions, description) in rows { for &(actions, description) in rows {
if actions == [InfoOverview, InfoDescription] if actions == [InfoOverview, InfoDescription]
&& self.labels[InfoOverview as usize] != self.labels[InfoDescription as usize] && self.labels[InfoOverview as usize] != self.labels[InfoDescription as usize]