-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop
Description
Description
Description
After updating to the latest OpenCode version (v1.1.65+), pressing Tab while focused on the prompt input field now shifts focus to the "Cycle Agent" button — instead of staying in the input or moving predictably within the editor.
This breaks my custom workflow:
- I use
Tabas a shortcut to toggle between Build and Plan modes. - Previously, after toggling mode, I could directly press
Enterto submit the prompt. - Now, after
Tab, the focus lands on the "Cycle Agent" button, so pressingEnteropens its dropdown menu instead — forcing me to either:- Press
Tabagain to move focus back, then click the send button, or - Manually click the prompt input to regain focus before submitting.
- Press
This adds unnecessary steps and disrupts flow, especially during rapid iteration.
Additional Context
This is especially disruptive for users who rely on keyboard-driven workflows. The current behavior feels like an unintended side effect of recent focus management changes.
Plugins
No response
OpenCode version
1.1.65
Steps to reproduce
Steps to Reproduce
- Update to latest OpenCode (e.g., v1.1.65).
- Focus on the prompt input field.
- Press
Tab. - Observe focus jumps to the "Cycle Agent" button (not expected).
- Press
Enter→ dropdown menu opens (not prompt submission).
Expected Behavior
Tabshould keep focus in the prompt input.- After mode toggle (
Tab),Entershould submit the prompt without side effects.
Screenshot and/or share link
No response
Operating System
macOS
Terminal
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingwebRelates to opencode on web / desktopRelates to opencode on web / desktop