Skip to content

Add h/l as panel-nav aliases to help and docs - #361

Merged
Harry-kp merged 2 commits into
Harry-kp:mainfrom
drakeo338:claude/354-fix
Sep 28, 2026
Merged

Harry-kp merged 2 commits into
Harry-kp:mainfrom
drakeo338:claude/354-fix

Conversation

@drakeo338

Copy link
Copy Markdown
Contributor

What does this PR do?

h / l already move to the previous / next panel (same as Shift-Tab / Tab), but neither the help overlay nor the docs said so. Adds them to the HELP_TEXT entry in crates/vortix/src/ui/overlays.rs and to the key table in docs/usage.md, plus a test (panel_nav_help_mentions_h_and_l) checking the help text lists both.

Related Issue

Fixes #354

Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 📖 Documentation
  • 🔧 Refactor
  • 🧪 Tests

Checklist

  • scripts/ci-local.sh passes (see docs/ci-parity.md) — --quick shows 18 pre-existing failures unrelated to this change, also present on upstream main
  • I updated documentation if needed (docs/usage.md panel-nav row now lists l / h)

cargo test -p vortix overlays: 14 passed on upstream main, 15 on this branch (the new test). cargo fmt --check and cargo clippy -p vortix --all-targets -- -D warnings are both clean.

input.rs already accepts l/h as Tab/Shift-Tab aliases for next/previous
panel, but the in-app ? help and docs/usage.md only mentioned Tab and
Shift-Tab, so the aliases were invisible to users.
The "Tab/S-Tab, l/h" key label overflowed the {key:<14} column used to
render the Global help section, so longer bindings after it in that
column could misalign. Shorten it to "Tab/S-Tab,l/h" (13 chars) and
assert the exact row instead of a loose contains-l-and-h check.
@Harry-kp
Harry-kp merged commit b8bd134 into Harry-kp:main Sep 28, 2026
20 checks passed
@Harry-kp

Copy link
Copy Markdown
Owner

Merged, thank you @drakeo338! The help overlay and docs now list h/l for moving between panels (fixes #354). It will ship in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

In-app help and docs don't mention h / l for moving between panels

2 participants