feat(tui): make status and help dialogs scrollable
Summary
- Added
scrollboxtoDialogStatusandDialogHelpcomponents. - Implemented keyboard scrolling handlers (Up/Down, PageUp/PageDown, Home/End).
- Ensured headers remain fixed while content scrolls.
- Fixed an issue where long status lists were truncated on small terminals.
Closes #$(gh issue list --limit 1 --json number --jq '.[0].number')
Fixes: https://github.com/anomalyco/opencode/issues/9314
https://github.com/user-attachments/assets/ec84268f-8254-48f9-9809-1f43fcae0dee
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number>orCloses #<number>to this PR description
See CONTRIBUTING.md for details.
The following comment was made by an LLM, it may be inaccurate:
No duplicate PRs found
Not ready for merge yet ☺️ adding a couple more fixes
Okay sweet ready for a review!
https://github.com/user-attachments/assets/46ac4bfd-06c6-4cc8-bd5b-fdf6b941a64f