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

Closed
opened 2026-02-16 17:35:40 -05:00 by yindo · 2 comments
Owner

Originally created by @maxandron on GitHub (Nov 1, 2025).

Originally assigned to: @thdxr on GitHub.

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

Originally created by @maxandron on GitHub (Nov 1, 2025). Originally assigned to: @thdxr on GitHub. ### 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 <img width="1728" height="1001" alt="Image" src="https://github.com/user-attachments/assets/77f1341e-1ba3-4a98-8a57-70a77b94f3c9" /> ### Operating System macOS 26.0.1 ### Terminal tmux inside of ghostty
yindo added the opentuibug labels 2026-02-16 17:35:40 -05:00
yindo closed this issue 2026-02-16 17:35:40 -05:00
Author
Owner

@arsham commented on GitHub (Nov 1, 2025):

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

@arsham commented on GitHub (Nov 1, 2025): For the time being, resize your terminal and it should fix it. I think there is a fix on the next release.
Author
Owner

@veracioux commented on GitHub (Nov 1, 2025):

Should be fixed by https://github.com/sst/opencode/pull/3663.
@rekram1-node Duplicate of https://github.com/sst/opencode/issues/3359, https://github.com/sst/opencode/issues/3648

@veracioux commented on GitHub (Nov 1, 2025): Should be fixed by https://github.com/sst/opencode/pull/3663. @rekram1-node Duplicate of https://github.com/sst/opencode/issues/3359, https://github.com/sst/opencode/issues/3648
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#2443