[PR #8940] fix(tui): responsive layout for permission prompt on narrow screens #12917

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

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

State: closed
Merged: No


What does this PR do?

Fixes #8938

Adds responsive layout to the permission prompt. When terminal width is below 80 columns, buttons and hints stack vertically instead of overlapping horizontally.

How did you verify your code works?

Resized terminal to different widths.

https://github.com/user-attachments/assets/37ba6b2c-5292-431d-ad67-34440bde0c0c

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/8940 **State:** closed **Merged:** No --- ### What does this PR do? Fixes #8938 Adds responsive layout to the permission prompt. When terminal width is below 80 columns, buttons and hints stack vertically instead of overlapping horizontally. ### How did you verify your code works? Resized terminal to different widths. https://github.com/user-attachments/assets/37ba6b2c-5292-431d-ad67-34440bde0c0c
yindo added the pull-request label 2026-02-16 18:17:48 -05:00
yindo closed this issue 2026-02-16 18:17:48 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12917