[PR #7181] fix(tui): constrain autocomplete height to available screen space #12291

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

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

State: closed
Merged: Yes


Fixes autocomplete dropdown overflowing when terminal height is small by constraining the list height to the available space above the cursor.

before:
image

After :
image

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/7181 **State:** closed **Merged:** Yes --- Fixes autocomplete dropdown overflowing when terminal height is small by constraining the list height to the available space above the cursor. before: <img width="653" height="167" alt="image" src="https://github.com/user-attachments/assets/5026db01-6e35-46e9-b232-ce845bca1eea" /> After : <img width="662" height="180" alt="image" src="https://github.com/user-attachments/assets/851be4a4-92a8-4055-a199-a083a6e99fe8" />
yindo added the pull-request label 2026-02-16 18:17:12 -05:00
yindo closed this issue 2026-02-16 18:17:12 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#12291