opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(tui): make status and help dialogs scrollable

Open mynameistito opened this issue 2 days ago • 2 comments

Summary

  • Added scrollbox to DialogStatus and DialogHelp components.
  • 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

mynameistito avatar Jan 18 '26 23:01 mynameistito

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

github-actions[bot] avatar Jan 18 '26 23:01 github-actions[bot]

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

github-actions[bot] avatar Jan 18 '26 23:01 github-actions[bot]

Not ready for merge yet ☺️ adding a couple more fixes

mynameistito avatar Jan 19 '26 03:01 mynameistito

Okay sweet ready for a review!

https://github.com/user-attachments/assets/46ac4bfd-06c6-4cc8-bd5b-fdf6b941a64f

mynameistito avatar Jan 19 '26 04:01 mynameistito