[FEATURE]: TUI config option to open edit permission prompts in fullscreen by default #8627

Open
opened 2026-02-16 18:10:25 -05:00 by yindo · 1 comment
Owner

Originally created by @MattieTK on GitHub (Feb 5, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request 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

  • #9089 – TUI option for minimal/collapsed diff display
  • #9026 – Add full-file diff toggle in permission fullscreen view
  • #8955 – Expanded permission prompt shows content behind it

Design Review

This is a UI feature and requires design review per CONTRIBUTING guidelines. Happy to wait for approval before implementation.

Originally created by @MattieTK on GitHub (Feb 5, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request 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: ```json { "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 - #9089 – TUI option for minimal/collapsed diff display - #9026 – Add full-file diff toggle in permission fullscreen view - #8955 – Expanded permission prompt shows content behind it ### Design Review This is a UI feature and requires design review per CONTRIBUTING guidelines. Happy to wait for approval before implementation.
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #9026: Add full-file diff toggle in permission fullscreen view (related fullscreen permission prompt enhancement)
  • #9089: TUI option for minimal/collapsed diff display (related TUI config feature for diffs)
  • #8955: Expanded permission prompt shows content behind it (rendering issues in fullscreen mode)

Feel free to ignore if none of these address your specific case.

For keybind-related issues, please also check our pinned keybinds documentation: #4997

@github-actions[bot] commented on GitHub (Feb 5, 2026): This issue might be a duplicate of existing issues. Please check: - #9026: Add full-file diff toggle in permission fullscreen view (related fullscreen permission prompt enhancement) - #9089: TUI option for minimal/collapsed diff display (related TUI config feature for diffs) - #8955: Expanded permission prompt shows content behind it (rendering issues in fullscreen mode) Feel free to ignore if none of these address your specific case. For keybind-related issues, please also check our pinned keybinds documentation: #4997
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8627