Long question tool makes opencode unusable #8083

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

Originally created by @mentonin on GitHub (Jan 30, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

When a question is very long, the full height is used and aligned to the top of the question, so the answer TUI is hidden. This means the user cannot interact correctly with the question. The length of the question varies with the size of the terminal.

Plugins

None

OpenCode version

1.1.47

Steps to reproduce

  1. run opencode
  2. Prompt:

Screenshot and/or share link

Ask me a 50 lines long question with 3 options, numbering each line

Operating System

Fedora 43 under WSL in Windows 11

Terminal

Windows Terminal

Originally created by @mentonin on GitHub (Jan 30, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description When a question is very long, the full height is used and aligned to the top of the question, so the answer TUI is hidden. This means the user cannot interact correctly with the question. The length of the question varies with the size of the terminal. ### Plugins None ### OpenCode version 1.1.47 ### Steps to reproduce 1. run `opencode` 2. Prompt: ### Screenshot and/or share link Ask me a 50 lines long question with 3 options, numbering each line ### Operating System Fedora 43 under WSL in Windows 11 ### Terminal Windows Terminal
yindo added the windowsopentuibug labels 2026-02-16 18:09:07 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 30, 2026):

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

  • #11361: OpenCode breaks in Zed if asked to use the AskUserQuestion tool - related to TUI issues with the question tool

It appears there are broader TUI layout and rendering issues that could be affecting question display and interactivity. Other potentially related issues:

  • #11109: TUI rendering glitches with overlapping panels and corrupted layout
  • #11275: Console window blocking the input box in WSL
  • #11154: Text being cut off when too long in the TUI

Feel free to ignore if your specific case is different from these.

@github-actions[bot] commented on GitHub (Jan 30, 2026): This issue might be a duplicate of existing issues. Please check: - #11361: OpenCode breaks in Zed if asked to use the `AskUserQuestion` tool - related to TUI issues with the question tool It appears there are broader TUI layout and rendering issues that could be affecting question display and interactivity. Other potentially related issues: - #11109: TUI rendering glitches with overlapping panels and corrupted layout - #11275: Console window blocking the input box in WSL - #11154: Text being cut off when too long in the TUI Feel free to ignore if your specific case is different from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8083