Skip to content

fix(tui): cap slash command palette at 8 visible rows - #237

Merged
github-actions[bot] merged 1 commit into
mainfrom
tui/palette-max-8-visible
Aug 4, 2026
Merged

github-actions[bot] merged 1 commit into
mainfrom
tui/palette-max-8-visible

Conversation

@mohitranka

Copy link
Copy Markdown
Contributor

Summary

  • Cap the slash-command autocomplete list at 8 visible rows (was up to 16), keeping it scannable while still scrolling to keep the selection in view.

Test plan

  • cargo build -p forge-tui
  • cargo fmt --all -- --check
  • cargo test -p forge-tui (723 passed)

The palette scaled with available terminal height up to 16 rows;
capping at 8 keeps the list scannable regardless of window size.
@github-actions
github-actions Bot enabled auto-merge (squash) August 4, 2026 09:40
@github-actions
github-actions Bot merged commit 1edd4b7 into main Aug 4, 2026
7 checks passed
mohitranka added a commit that referenced this pull request Aug 21, 2026
The palette scaled with available terminal height up to 16 rows;
capping at 8 keeps the list scannable regardless of window size.
mohitranka added a commit that referenced this pull request Sep 11, 2026
The palette scaled with available terminal height up to 16 rows;
capping at 8 keeps the list scannable regardless of window size.
mohitranka added a commit that referenced this pull request Sep 11, 2026
The palette scaled with available terminal height up to 16 rows;
capping at 8 keeps the list scannable regardless of window size.
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