Skip to content

[Windows] interactive call breaking tui #3763

Closed

Description

@zenyr

Description

I just randomly decided to use Windows to try out OpenCode 1.0!

During the initial setup process, aside from a few minor hiccups (which are expected on Windows),
ssh -T git@github.com failed right through the UI.

OpenCode version

1.0.11

Steps to reproduce

  • Use Windows like a madman
  • Make a bash call that expects a user input
  • Observe

Screenshot and/or share link

https://opencode.ai/s/qZkyvCfh

Image

Operating System

Windows 11

Terminal

Windows Terminal

Activity

  1. added
    bugSomething isn't working
    on Nov 2, 2025
  2. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 2, 2025
  3. github-actions commented on Nov 2, 2025

    @github-actions
    Contributor

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

    Feel free to ignore if none of these address your specific case.

  4. veracioux commented on Nov 2, 2025

    @veracioux
    Contributor

    I don't think it has anything to do with "expecting user input".

    I think that that ssh command sends output directly to the controlling pty.

    E.g. ssh bitbucket.org >/dev/null 2>/dev/null still produces output, even when you use -T or -t. (I tried on native linux)

    @zenyr If you do !echo test and !echo test >&2, do you also observe this issue?

  5. zenyr commented on Nov 2, 2025

    @zenyr
    ContributorAuthor

    If you do !echo test and !echo test >&2, do you also observe this issue?

    Yes, I could reproduce this as you suggested! (only via using openssh.exe)

    https://opencode.ai/s/SyPIJFzE

    Image
  6. veracioux commented on Nov 3, 2025

    @veracioux
    Contributor

    @zenyr Hint: If you type the character ! in an empty prompt, it will trigger shell mode, where you can directly run the command without waiting for the LLM. Does your issue happen when you run the command directly like that?

    Peek.2025-11-03.01-08.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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