Repository navigation
Conversation
|
Thanks for updating your PR! It now meets our contributing guidelines. 👍 |
|
Automated PR Cleanup Thank you for contributing to opencode. Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions. This PR was closed because it matched the following cleanup criteria:
PRs created within the last month are not affected by this cleanup. If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate. Thanks again for taking the time to contribute. |
|
Is it possible to reopen this agian? |
Issue for this PR
Closes #28191
Type of change
What does this PR do?
The permission prompt panel is hard-coded to
maxHeight: 15lines. When a large diff is shown for approval, 15 lines is often too small to see the content clearly. Users must manually pressCtrl+Fto expand it every time.This PR adds a
permission_prompt.max_heightconfig option totui.jsonso users can control the panel height without going fullscreen.{ "permission_prompt": { "max_height": 40 } }Default remains 15. Valid range is 10-90.
Screenshot

Example with max_height = 40:
How did you verify your code works?
bun run typecheckpasses across all 29 packagesmax_height: 40intui.json, triggered an edit permission request, confirmed the panel renders at the configured heightChecklist