You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
opening opencode emits garbled text when tmux allow-passthrough option is on #15744
I have been having this issue for a long time, but I am opening a bug so we can track it, as I didn't find anything in the issue tracker.
The issue is that when I open opencode and I have another tab in the same tmux session opencode emmits garbled text (it looks like part of escape sequences) in the other tab. It even sometimes changes the tab to the other one automatically.
This only happens if I have allow-passthrough on in my tmux configuration.
Plugins
none
OpenCode version
1.2.15
Steps to reproduce
Open tmux
Set allow-passthrough on
Open a second tmux tab
Open opencode
Navigate to the second tab
You will see garbled text in the second tab (see screenshot)
Activity
Padraic-O-Mhuiris commentedon Mar 23, 2026
Can confirm similar behaviour
fix(tmux): disable allow-passthrough for Bun-TUI compatibility
dseravalli commentedon Apr 26, 2026
I just started getting a similar issue, except it reproduces with default Terminal, opencode, Tmux (except for passthrough on), and zsh env.
Repro script
Env
macOS 26.3
Terminal 2.15 (466)
zsh 5.9 (arm64-apple-darwin25.0)
Tmux 3.6a
Opencode 1.14.25
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.