Skip to content

feat(ui): multi-column help overlay with scrolling#64

Merged
i-doll merged 1 commit into
mainfrom
feat/help-multi-column
Feb 22, 2026
Merged

feat(ui): multi-column help overlay with scrolling#64
i-doll merged 1 commit into
mainfrom
feat/help-multi-column

Conversation

@i-doll

@i-doll i-doll commented Feb 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • Restructure help popup to use 1–3 columns based on terminal width (thresholds at 82/126 inner width), with greedy shortest-column section distribution
  • Add j/k/J/K/Up/Down/PageUp/PageDown scrolling in help mode, with / indicators when content overflows
  • Popup width and height adapt dynamically to column count and terminal size

Test plan

  • cargo clippy — no warnings
  • cargo test — all 553 tests pass (including new test_help_scroll and test_help_mode_scroll_keys)
  • Manual: open help on wide terminal (≥88 cols) → 2 columns
  • Manual: open help on very wide terminal (≥128 cols) → 3 columns
  • Manual: open help on narrow terminal (<88 cols) → single column with j/k scrolling
  • Manual: resize terminal while help is open → columns reflow

Restructure help popup to use 1–3 columns based on terminal width,
with j/k scrolling and scroll indicators when content overflows.
@i-doll i-doll merged commit 1694296 into main Feb 22, 2026
1 check passed
@i-doll i-doll deleted the feat/help-multi-column branch February 22, 2026 11:36
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.

1 participant