Description
Summary
In iTerm2 tmux control mode (tmux -CC), OpenCode TUI prompts do not submit the selected option when pressing Enter.
The same prompt works normally when running OpenCode outside tmux.
Environment
- OpenCode:
1.15.5
- macOS:
26.1 (25B78)
- iTerm2:
3.5.11
- tmux:
3.6a
- Mode: iTerm2 tmux integration /
tmux -CC
- tmux client:
control=1
Expected
Enter submits the selected option.
Actual
Enter does not submit the selected option.
Other keys still respond, so this does not look like a complete keyboard-input freeze. Running OpenCode outside tmux works normally.
Related issues
This is similar to #28112, but different: in that issue Arrow + Enter submits a selection, while here Enter does not submit any option.
This is different from #24358, where all keyboard input is ignored. In this case, other keys still respond.
Plugins
"oh-my-openagent@4.2.2", "opencode-mystatus", "opencode-skill-creator", "@slkiser/opencode-quota"
OpenCode version
1.15.5
Steps to reproduce
- Start iTerm2 tmux integration with
tmux -CC.
- Run
opencode.
- Trigger an interactive prompt, such as a question prompt or permission prompt.
- Select any option.
- Press Enter.
Screenshot and/or share link
No response
Operating System
macOS: 26.1 (25B78)
Terminal
iTerm2: 3.5.11
Description
Summary
In iTerm2 tmux control mode (
tmux -CC), OpenCode TUI prompts do not submit the selected option when pressing Enter.The same prompt works normally when running OpenCode outside tmux.
Environment
1.15.526.1(25B78)3.5.113.6atmux -CCcontrol=1Expected
Enter submits the selected option.
Actual
Enter does not submit the selected option.
Other keys still respond, so this does not look like a complete keyboard-input freeze. Running OpenCode outside tmux works normally.
Related issues
This is similar to #28112, but different: in that issue Arrow + Enter submits a selection, while here Enter does not submit any option.
This is different from #24358, where all keyboard input is ignored. In this case, other keys still respond.
Plugins
"oh-my-openagent@4.2.2", "opencode-mystatus", "opencode-skill-creator", "@slkiser/opencode-quota"
OpenCode version
1.15.5
Steps to reproduce
tmux -CC.opencode.Screenshot and/or share link
No response
Operating System
macOS:
26.1(25B78)Terminal
iTerm2:
3.5.11