Description
What happened
Running opencode < instructions.txt or "echo hello | opencode" opens the TUI, but input becomes unusable (ANSI noise, no interaction).
Actual behavior
The TUI becomes unresponsive and shows stray ANSI characters.
Expected behavior
The prompt is auto-submitted and the TUIstays interactive.
Plugins
No response
OpenCode version
1.15.5
Steps to reproduce
opencode < test-prompt.txt
echo hello | opencode
Screenshot and/or share link
Operating System
Linux (Arch)
Terminal
Ghostty
Description
What happened
Running
opencode < instructions.txtor "echo hello | opencode" opens the TUI, but input becomes unusable (ANSI noise, no interaction).Actual behavior
The TUI becomes unresponsive and shows stray ANSI characters.
Expected behavior
The prompt is auto-submitted and the TUIstays interactive.
Plugins
No response
OpenCode version
1.15.5
Steps to reproduce
opencode < test-prompt.txtecho hello | opencodeScreenshot and/or share link
Operating System
Linux (Arch)
Terminal
Ghostty