Visitar URL original
fix(opencode): question tool can be minimized and will scroll in the TUI by eXamadeus · Pull Request #34668 · anomalyco/opencode · GitHub
Skip to content

fix(opencode): question tool can be minimized and will scroll in the TUI - #34668

Closed
eXamadeus wants to merge 1 commit into
anomalyco:devfrom
eXamadeus:julian/add-minimize-and-scroll-behavior-to-question-prompt
Closed

eXamadeus wants to merge 1 commit into
anomalyco:devfrom
eXamadeus:julian/add-minimize-and-scroll-behavior-to-question-prompt

Conversation

@eXamadeus

@eXamadeus eXamadeus commented Jun 30, 2026 •

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #11367
Closes #26849
Closes #30356

Type of change

  • Bug fix
  • New feature

What does this PR do?

This adds in support to minimize and scroll long questions in the TUI. Similar to the work I did for the Web UI in #34116

How did you verify your code works?

Local testing.

Screenshots / recordings

(turn on audio to hear my walkthrough)

Zight.Recording.2026-06-30.at.02.08.31.PM.mp4

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

The current PR (#34668) appears in all search results as expected. PR #34116 is mentioned in the current PR's description as prior related work on the Web UI. The other results are unrelated to this specific feature.

No duplicate PRs found

@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

@lukamanitta

Copy link
Copy Markdown

Is this still planned to be added?

@zlc431929

Copy link
Copy Markdown

First of all, thank you to the OpenCode maintainers and contributors for all the incredible work you've put into this project. I really appreciate the effort that goes into continuously improving OpenCode.

I'd like to sincerely express how much this feature is needed in the TUI.

When OpenCode uses the question tool to ask for user input, the question panel often takes up a large portion of the terminal, making it difficult or even impossible to review the conversation history behind it.

This becomes particularly challenging during complex coding tasks, where answering a question often requires looking back at earlier discussions, technical details, or tool outputs. Sometimes, the information needed to make a decision is right there in the conversation, but the question panel prevents us from seeing it.

Being able to temporarily minimize the question panel, review the conversation, and then return to answer the question would make a tremendous difference to the usability of OpenCode's TUI.

For those of us who rely heavily on the TUI for daily development, this is more than a minor convenience. It directly affects our ability to make informed decisions and maintain a smooth workflow. The need becomes increasingly noticeable as we use OpenCode for more complex tasks.

I was really glad to see that PR #34668 had already explored a solution, and I sincerely hope this functionality can eventually make its way into the TUI.

If possible, I would be very grateful if the maintainers could consider giving this feature some priority. I believe it would be a meaningful quality-of-life improvement for many TUI users.

Thank you again for your time, your dedication, and all the work you do for the community!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TUI: can not show the choices below it Ask_user tool window cannot be shrinked Long question tool makes opencode unusable

3 participants