opencode --prompt does not begin the session #3094

Closed
opened 2026-02-16 17:38:36 -05:00 by yindo · 1 comment
Owner

Originally created by @dgunay on GitHub (Nov 24, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

The --prompt flag used to begin the session with the given prompt, but at some point it started only prefilling the prompt box. I now have to hit Enter to actually begin the session.

OpenCode version

1.0.108

Steps to reproduce

opencode --prompt 'tell me a joke'

Expected:

Opencode launches and the model tells me one of the same 3 terrible jokes they all tell.

Actual:

Opencode launches and I just see "tell me a joke" in the prompt box.

Screenshot and/or share link

Image

Operating System

macOS 26.0.1

Terminal

Ghostty

Originally created by @dgunay on GitHub (Nov 24, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description The `--prompt` flag used to begin the session with the given prompt, but at some point it started only prefilling the prompt box. I now have to hit Enter to actually begin the session. ### OpenCode version 1.0.108 ### Steps to reproduce ``` opencode --prompt 'tell me a joke' ``` Expected: Opencode launches and the model tells me one of the same 3 terrible jokes they all tell. Actual: Opencode launches and I just see "tell me a joke" in the prompt box. ### Screenshot and/or share link <img width="620" height="339" alt="Image" src="https://github.com/user-attachments/assets/78c163b2-7e0a-47d0-927b-d3399b61a23e" /> ### Operating System macOS 26.0.1 ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:38:36 -05:00
yindo closed this issue 2026-02-16 17:38:36 -05:00
Author
Owner

@dgunay commented on GitHub (Dec 15, 2025):

This appears to have started working again as of some more recent version of opencode.

@dgunay commented on GitHub (Dec 15, 2025): This appears to have started working again as of some more recent version of opencode.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3094