Skip to content

Input text displays in terminal instead of input box, Enter creates newline instead of submitting (V 1.0.20) #4107

Closed

Description

@nikitalbnv

Description

After updating to the newest version, the input handling appears to be broken. Text input is being rendered directly in the terminal display area instead of in the dedicated input box, and pressing Enter creates a newline in the terminal rather than submitting the request.

I ran the old version with bun x opencode-ai@0.15.31 and everthing there works fine, sometimes terminal escape sequences get dumped on the screen when I'm in the app as well but I can't recreate that problem

I've attached a screenrecording that shows this problem since I'm not too sure how to describe it

screenrecording-2025-11-08_18-18-03.mp4

OpenCode version

1.0.20

Steps to reproduce

ghostty --version                                                                          ~
Ghostty 1.2.3-arch2

Version
  - version: 1.2.3-arch2
  - channel: tip
Build Config
  - Zig version   : 0.14.1
  - build mode    : builtin.OptimizeMode.ReleaseFast
  - app runtime   : apprt.Runtime.gtk
  - font engine   : font.main.Backend.fontconfig_freetype
  - renderer      : renderer.generic.Renderer(renderer.OpenGL)
  - libxev        : io_uring
  - kernel version: 6.17.7-arch1-1
  - desktop env   : other
  - GTK version   :
    build         : 4.20.2
    runtime       : 4.20.2
  - libadwaita    : enabled
    build         : 1.8.1
    runtime       : 1.8.1
  - libX11        : enabled
  - libwayland    : enabled

Screenshot and/or share link

No response

Operating System

6.17.7-arch1-1

Terminal

Ghostty but same issue on Alacritty and Kitty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 9, 2025
  2. github-actions commented on Nov 9, 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.

  3. Beloin commented on Nov 9, 2025

    @Beloin

    If you scroll or do something else, TUI is not interpreting

  4. rekram1-node commented on Nov 9, 2025

    @rekram1-node
    Contributor

    Can yall try the latest version? We addressed a lot of issues recently?

    @Beloin what version r u on?

  5. Beloin commented on Nov 9, 2025

    @Beloin

    @rekram1-node its something weird. Sometimes it works, but sometimes it just bugs and dont undestand inputs.

    I am using with neovim, but TUI client also shows the same problems.

    In neovim
    Image

    in opencode TUI
    Image

    Version:

    Image
  6. rekram1-node commented on Nov 9, 2025

    @rekram1-node
    Contributor

    @Beloin can you upgrade to latest tho? Like I said I think we fixed some of these issues already

  7. Beloin commented on Nov 9, 2025

    @Beloin

    Sorry, I thought it was already the latest version. I will try tomorrow ( already 2Am at my local time ) and notify this thread. Also I will try to use the compiled binary, or build it. AUR package is weird sometimes

  8. nikitalbnv commented on Nov 9, 2025

    @nikitalbnv
    Author

    It's fixed for me on the new version

    I had it installed via yay from the aur package & it was telling me that 1.0.20 was the latest version, sorry about that

  9. rekram1-node commented on Nov 9, 2025

    @rekram1-node
    Contributor

    no problem :)

  10. Beloin commented on Nov 9, 2025

    @Beloin

    It fixed also for me. Sorry for the confusion

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