[PR #9007] feat: add permission expansion control in TUI session #12945

Open
opened 2026-02-16 18:17:49 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/9007

State: open
Merged: No


What does this PR do?

fixes #8955

  • fix expanded permission prompt showing chat content behind it
  • when ctrl+f is pressed, the session now hides the header and messages scrollbox so there's nothing behind the portal overlay
  • works correctly with transparent terminal backgrounds

How did you verify your code works?

there are no tui component tests, so i tested manually with a transparent terminal background

minimized
Screenshot 2026-01-16 at 22 45 49

fullscreen
Screenshot 2026-01-16 at 22 45 53

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/9007 **State:** open **Merged:** No --- ### What does this PR do? fixes #8955 - fix expanded permission prompt showing chat content behind it - when ctrl+f is pressed, the session now hides the header and messages scrollbox so there's nothing behind the portal overlay - works correctly with transparent terminal backgrounds ### How did you verify your code works? there are no tui component tests, so i tested manually with a transparent terminal background **minimized** <img height="650" alt="Screenshot 2026-01-16 at 22 45 49" src="https://github.com/user-attachments/assets/c8cf119d-87bd-4f88-afa1-465df7604756" /> **fullscreen** <img height="650" alt="Screenshot 2026-01-16 at 22 45 53" src="https://github.com/user-attachments/assets/b55fec81-1a59-450c-b41a-d899faa895ec" />
yindo added the pull-request label 2026-02-16 18:17:49 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12945