Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
When reviewing file edit permissions, the default view shows a compact diff. Users who prefer to review diffs in fullscreen mode must press ctrl+f for every permission prompt. For workflows where fullscreen review is always preferred, this adds unnecessary friction.
Desired Behaviour
Add a TUI config option to open permission prompts in fullscreen mode by default:
{
"tui": {
"permission_fullscreen_default": true
}
}
When enabled, permission prompts would open in fullscreen view automatically. Users could still toggle back to compact view using ctrl+f.
Why it belongs in OpenCode
- Consistent with existing TUI config options (
diff_style, scroll_speed, scroll_acceleration)
- No breaking changes – default behaviour remains
false
- Reduces repetitive keypresses for users who always expand diffs
- Simple implementation – initial
expanded state reads from config
Related Issues
Design Review
This is a UI feature and requires design review per CONTRIBUTING guidelines. Happy to wait for approval before implementation.
Feature hasn't been suggested before.
Describe the enhancement you want to request
Problem
When reviewing file edit permissions, the default view shows a compact diff. Users who prefer to review diffs in fullscreen mode must press
ctrl+ffor every permission prompt. For workflows where fullscreen review is always preferred, this adds unnecessary friction.Desired Behaviour
Add a TUI config option to open permission prompts in fullscreen mode by default:
{ "tui": { "permission_fullscreen_default": true } }When enabled, permission prompts would open in fullscreen view automatically. Users could still toggle back to compact view using
ctrl+f.Why it belongs in OpenCode
diff_style,scroll_speed,scroll_acceleration)falseexpandedstate reads from configRelated Issues
Design Review
This is a UI feature and requires design review per CONTRIBUTING guidelines. Happy to wait for approval before implementation.