opencode stopped working within tmux #1268

Closed
opened 2026-02-16 17:30:13 -05:00 by yindo · 2 comments
Owner

Originally created by @denisdifazio on GitHub (Aug 12, 2025).

Originally assigned to: @thdxr on GitHub.

opencode version: v0.4.37
environment: WSL 2
terminal: Windows Terminal v1.23.12102.0


When i try to run opencode on the command line in a tmux session, it fails with "[server exited unexpectedly]".
If i execute opencode outside a tmux session, it works normally.

Originally created by @denisdifazio on GitHub (Aug 12, 2025). Originally assigned to: @thdxr on GitHub. opencode version: v0.4.37 environment: WSL 2 terminal: Windows Terminal v1.23.12102.0 --- When i try to run `opencode` on the command line in a tmux session, it fails with "[server exited unexpectedly]". If i execute `opencode` outside a tmux session, it works normally.
yindo closed this issue 2026-02-16 17:30:13 -05:00
Author
Owner

@thdxr commented on GitHub (Aug 12, 2025):

can you do opencode run hey --print-logs

@thdxr commented on GitHub (Aug 12, 2025): can you do `opencode run hey --print-logs`
Author
Owner

@denisdifazio commented on GitHub (Aug 13, 2025):

nvm, it was my tmux version.

i was using 3.3a and after i upgraded it to 3.5, opencode is working again.

i'm closing this, thanks dax!

@denisdifazio commented on GitHub (Aug 13, 2025): nvm, it was my tmux version. i was using 3.3a and after i upgraded it to 3.5, opencode is working again. i'm closing this, thanks dax!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1268