You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
claudbg/.beans/claudbg-1tlk--tui-help-moda...

1.5 KiB

title status type priority created_at updated_at parent blocked_by
TUI: help modal listing all keyboard shortcuts in-progress task normal 2026-03-30T04:48:38Z 2026-03-30T16:50:26Z claudbg-i6l2
claudbg-ut9q

Implement a ? help overlay that lists all keyboard shortcuts.

Trigger

Press ? (or Shift+/) from any screen (except when another modal is open).

Content

┌─────────── Keyboard Shortcuts ────────────┐
│ Navigation                                 │
│   ↑/↓ or k/j    Scroll up/down            │
│   ←/→ or h/l    Scroll left/right         │
│   Tab            Cycle panes              │
│   Enter          Open / select            │
│   Escape         Go back                  │
│                                           │
│ Global                                    │
│   q / Q          Quit (with confirmation) │
│   ?              Show this help           │
└───────────────────────────────────────────┘

Press Escape to close.

State

AppState.show_help: bool

  • ?show_help = true
  • Escapeshow_help = false
  • Help modal intercepts all key input while open.

Implementation notes

  • Same centered overlay pattern as quit dialog (Clear + Block + Paragraph).
  • Content is static — hardcoded list of shortcuts.
  • Render on top of whatever screen is active.

Blocked by

  • event loop (claudbg-ut9q)