anomalyco / anomalyco/opencode
TUI stuck when a message is queue and questions pop out
@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
- openup a session
- prompt something that makes ai work for a whle then should ask you a question
- queue a message, in plan mode
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.