Skip to content

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

Description

@MattieTK

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

Design Review

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions