anomalyco / anomalyco/opencode

TUI stuck when a message is queue and questions pop out

Open
#42,272 1 comment 1 reaction 1 assignee View on GitHub

@simonklee is already working on this.

Since Aug 13, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

TUI stuck when a message is queue and questions pop out. Inside a session

Plugins

no plugins

OpenCode version

1.18.16

Steps to reproduce
  1. openup a session
  2. prompt something that makes ai work for a whle then should ask you a question
  3. queue a message, in plan mode
  4. now its stuck, you can type your answer but cant confirm your answer, while <c-c> wont work
Screenshot and/or share link

its bugged out i cant even quit, so no share link

Operating System

Windows 11 WSL debian

Terminal

vscode intergrated terminal

Checked other issues

https://github.com/anomalyco/opencode/issues/38552: Similar issue where Enter/Confirm doesn't respond on question prompts, also reproduced in VS Code integrated terminal
https://github.com/anomalyco/opencode/issues/28112: AskUserQuestion modal is undismissable and Ctrl-C does not work while a question prompt is open
https://github.com/anomalyco/opencode/issues/27503: OpenCode gets stuck infinitely after re-asking questions
Its different. I beleive its due to the queued prompt

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.