Skip to content

Closing the editor after editing the prompt does not restore the TUI #3692

Closed

Description

@maxandron

Description

After editing the prompt with vim (after pressing ctrl+x-e) and saving and closing the editor, the TUI is not restored properly.
Instead, I'm left with an empty terminal screen.

OpenCode version

1.0.7

Steps to reproduce

  1. open opencode
  2. Press ctrl-x+e
  3. close the editor

Screenshot and/or share link

Image

Operating System

macOS 26.0.1

Terminal

tmux inside of ghostty

Activity

  1. added
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Nov 1, 2025
  2. arsham commented on Nov 1, 2025

    @arsham

    For the time being, resize your terminal and it should fix it. I think there is a fix on the next release.

  3. veracioux commented on Nov 1, 2025

    @veracioux
    Contributor

    Should be fixed by #3663.
    @rekram1-node Duplicate of #3359, #3648

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