anomalyco / anomalyco/opencode
OpenCode Desktop prompt input textbox takes focus/changes cursor position while agent works(MacOS)
Open
@Hona is already working on this.
Since Aug 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
While an agent is working on a long running task, it is frustratingly difficult to draft a prompt in the prompt input, or work in a terminal. Somehow the agent workflow keeps stealing the input focus and then the focus returns to the prompt input textbox at position 0. Example: "e this. ing a prompt it looks likThis means while you're writ"
Plugins
No response
OpenCode version
Desktop
Version 1.17.18 (1.17.18)
Steps to reproduce
- Start a long running task with code edits
- Within the app type in a terminal or prompt input box
Screenshot and/or share link
No response
Operating System
MacOS
Terminal
No response
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.