Skip to content

When piping into --prompt cant interact with opencode #6220

Closed

Description

@krymancer

Description

After piping and calling opencode with --prompt flag I can't interact at all with opencode, esc doesn't do anything, typing is ignored, and scroll doesn't work either, everthing become escaping sequences.

OpenCode version

1.0.203

Steps to reproduce

  1. pipe to opencod something i.e echo "how are you" | opencode --prompt

Screenshot and/or share link

Image

Operating System

Omarchy | Arch Linux | 6.17.8-arch1-1

Terminal

Ghostty, Alacritty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Dec 26, 2025
  2. github-actions commented on Dec 26, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if this doesn't address your specific case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions