The tui in the input line disappeared. #4128

Open
opened 2026-02-16 17:42:43 -05:00 by yindo · 7 comments
Owner

Originally created by @XiaoPengYouCode on GitHub (Jan 3, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

Image

Ubuntu 24.04 wayland envrioment
version 1.0.220
ghostty

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Originally created by @XiaoPengYouCode on GitHub (Jan 3, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description <img width="2809" height="367" alt="Image" src="https://github.com/user-attachments/assets/99b8fffc-0805-4006-887d-018ba4972305" /> Ubuntu 24.04 wayland envrioment version 1.0.220 ghostty ### Plugins _No response_ ### OpenCode version _No response_ ### Steps to reproduce _No response_ ### Screenshot and/or share link _No response_ ### Operating System _No response_ ### Terminal _No response_
yindo added the opentuibug labels 2026-02-16 17:42:43 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 3, 2026):

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

  • #2013: Korean characters disappear in the input prompt when using WezTerm/Ghostty (similar character/content disappearing issue with Ghostty)
  • #4321: Missing messages in TUI (content disappearing in TUI with Ghostty, similar environment)
  • #3535: XML content sometimes disappears in the TUI terminal (content rendering/disappearing issue)

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

@github-actions[bot] commented on GitHub (Jan 3, 2026): This issue might be a duplicate of existing issues. Please check: - #2013: Korean characters disappear in the input prompt when using WezTerm/Ghostty (similar character/content disappearing issue with Ghostty) - #4321: Missing messages in TUI (content disappearing in TUI with Ghostty, similar environment) - #3535: XML content sometimes disappears in the TUI terminal (content rendering/disappearing issue) Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 3, 2026):

maybe update to latest see if its fixed?

@rekram1-node commented on GitHub (Jan 3, 2026): maybe update to latest see if its fixed?
Author
Owner

@XiaoPengYouCode commented on GitHub (Jan 4, 2026):

I must say that brew's software updates aren't very timely; I'll provide updates as they become available. Thanks for reply!

❯ brew upgrade opencode
Warning: opencode 1.0.220 already installed
@XiaoPengYouCode commented on GitHub (Jan 4, 2026): I must say that brew's software updates aren't very timely; I'll provide updates as they become available. Thanks for reply! ``` ❯ brew upgrade opencode Warning: opencode 1.0.220 already installed ```
Author
Owner

@XiaoPengYouCode commented on GitHub (Feb 14, 2026):

This problem still seems to exist in version 1.2.1. However, I can input data normally. What information do I need to provide?

@XiaoPengYouCode commented on GitHub (Feb 14, 2026): This problem still seems to exist in version 1.2.1. However, I can input data normally. What information do I need to provide?
Author
Owner

@rekram1-node commented on GitHub (Feb 14, 2026):

dumb ur config?

opencode debug config

@rekram1-node commented on GitHub (Feb 14, 2026): dumb ur config? `opencode debug config`
Author
Owner

@XiaoPengYouCode commented on GitHub (Feb 14, 2026):

 opencode debug config
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "codex-for-me": {
      "npm": "@ai-sdk/openai",
      "models": {
        "gpt-5.3-codex": {
          "name": "gpt-5.3-codex"
        }
      },
      "options": {
        "apiKey": "xxx",
        "baseURL": "xxx“
      }
    }
  },
  "mcp": {
    "context7": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@upstash/context7-mcp"
      ],
      "enabled": true
    }
  },
  "agent": {},
  "mode": {},
  "plugin": [],
  "command": {},
  "username": "xiaopengyou",
  "keybinds": {
    "leader": "ctrl+x",
    "app_exit": "ctrl+c,ctrl+d,<leader>q",
    "editor_open": "<leader>e",
    "theme_list": "<leader>t",
    "sidebar_toggle": "<leader>b",
    "scrollbar_toggle": "none",
    "username_toggle": "none",
    "status_view": "<leader>s",
    "session_export": "<leader>x",
    "session_new": "<leader>n",
    "session_list": "<leader>l",
    "session_timeline": "<leader>g",
    "session_fork": "none",
    "session_rename": "ctrl+r",
    "session_delete": "ctrl+d",
    "stash_delete": "ctrl+d",
    "model_provider_list": "ctrl+a",
    "model_favorite_toggle": "ctrl+f",
    "session_share": "none",
    "session_unshare": "none",
    "session_interrupt": "escape",
    "session_compact": "<leader>c",
    "messages_page_up": "pageup,ctrl+alt+b",
    "messages_page_down": "pagedown,ctrl+alt+f",
    "messages_line_up": "ctrl+alt+y",
    "messages_line_down": "ctrl+alt+e",
    "messages_half_page_up": "ctrl+alt+u",
    "messages_half_page_down": "ctrl+alt+d",
    "messages_first": "ctrl+g,home",
    "messages_last": "ctrl+alt+g,end",
    "messages_next": "none",
    "messages_previous": "none",
    "messages_last_user": "none",
    "messages_copy": "<leader>y",
    "messages_undo": "<leader>u",
    "messages_redo": "<leader>r",
    "messages_toggle_conceal": "<leader>h",
    "tool_details": "none",
    "model_list": "<leader>m",
    "model_cycle_recent": "f2",
    "model_cycle_recent_reverse": "shift+f2",
    "model_cycle_favorite": "none",
    "model_cycle_favorite_reverse": "none",
    "command_list": "ctrl+p",
    "agent_list": "<leader>a",
    "agent_cycle": "tab",
    "agent_cycle_reverse": "shift+tab",
    "variant_cycle": "ctrl+t",
    "input_clear": "ctrl+c",
    "input_paste": "ctrl+v",
    "input_submit": "return",
    "input_newline": "shift+return,ctrl+return,alt+return,ctrl+j",
    "input_move_left": "left,ctrl+b",
    "input_move_right": "right,ctrl+f",
    "input_move_up": "up",
    "input_move_down": "down",
    "input_select_left": "shift+left",
    "input_select_right": "shift+right",
    "input_select_up": "shift+up",
    "input_select_down": "shift+down",
    "input_line_home": "ctrl+a",
    "input_line_end": "ctrl+e",
    "input_select_line_home": "ctrl+shift+a",
    "input_select_line_end": "ctrl+shift+e",
    "input_visual_line_home": "alt+a",
    "input_visual_line_end": "alt+e",
    "input_select_visual_line_home": "alt+shift+a",
    "input_select_visual_line_end": "alt+shift+e",
    "input_buffer_home": "home",
    "input_buffer_end": "end",
    "input_select_buffer_home": "shift+home",
    "input_select_buffer_end": "shift+end",
    "input_delete_line": "ctrl+shift+d",
    "input_delete_to_line_end": "ctrl+k",
    "input_delete_to_line_start": "ctrl+u",
    "input_backspace": "backspace,shift+backspace",
    "input_delete": "ctrl+d,delete,shift+delete",
    "input_undo": "ctrl+-,super+z",
    "input_redo": "ctrl+.,super+shift+z",
    "input_word_forward": "alt+f,alt+right,ctrl+right",
    "input_word_backward": "alt+b,alt+left,ctrl+left",
    "input_select_word_forward": "alt+shift+f,alt+shift+right",
    "input_select_word_backward": "alt+shift+b,alt+shift+left",
    "input_delete_word_forward": "alt+d,alt+delete,ctrl+delete",
    "input_delete_word_backward": "ctrl+w,ctrl+backspace,alt+backspace",
    "history_previous": "up",
    "history_next": "down",
    "session_child_cycle": "<leader>right",
    "session_child_cycle_reverse": "<leader>left",
    "session_parent": "<leader>up",
    "terminal_suspend": "ctrl+z",
    "terminal_title_toggle": "none",
    "tips_toggle": "<leader>h",
    "display_thinking": "none"
  }
}

Hopefully this will be helpful, but this is almost the default setting.

@XiaoPengYouCode commented on GitHub (Feb 14, 2026): ```json ❯ opencode debug config { "$schema": "https://opencode.ai/config.json", "provider": { "codex-for-me": { "npm": "@ai-sdk/openai", "models": { "gpt-5.3-codex": { "name": "gpt-5.3-codex" } }, "options": { "apiKey": "xxx", "baseURL": "xxx“ } } }, "mcp": { "context7": { "type": "local", "command": [ "npx", "-y", "@upstash/context7-mcp" ], "enabled": true } }, "agent": {}, "mode": {}, "plugin": [], "command": {}, "username": "xiaopengyou", "keybinds": { "leader": "ctrl+x", "app_exit": "ctrl+c,ctrl+d,<leader>q", "editor_open": "<leader>e", "theme_list": "<leader>t", "sidebar_toggle": "<leader>b", "scrollbar_toggle": "none", "username_toggle": "none", "status_view": "<leader>s", "session_export": "<leader>x", "session_new": "<leader>n", "session_list": "<leader>l", "session_timeline": "<leader>g", "session_fork": "none", "session_rename": "ctrl+r", "session_delete": "ctrl+d", "stash_delete": "ctrl+d", "model_provider_list": "ctrl+a", "model_favorite_toggle": "ctrl+f", "session_share": "none", "session_unshare": "none", "session_interrupt": "escape", "session_compact": "<leader>c", "messages_page_up": "pageup,ctrl+alt+b", "messages_page_down": "pagedown,ctrl+alt+f", "messages_line_up": "ctrl+alt+y", "messages_line_down": "ctrl+alt+e", "messages_half_page_up": "ctrl+alt+u", "messages_half_page_down": "ctrl+alt+d", "messages_first": "ctrl+g,home", "messages_last": "ctrl+alt+g,end", "messages_next": "none", "messages_previous": "none", "messages_last_user": "none", "messages_copy": "<leader>y", "messages_undo": "<leader>u", "messages_redo": "<leader>r", "messages_toggle_conceal": "<leader>h", "tool_details": "none", "model_list": "<leader>m", "model_cycle_recent": "f2", "model_cycle_recent_reverse": "shift+f2", "model_cycle_favorite": "none", "model_cycle_favorite_reverse": "none", "command_list": "ctrl+p", "agent_list": "<leader>a", "agent_cycle": "tab", "agent_cycle_reverse": "shift+tab", "variant_cycle": "ctrl+t", "input_clear": "ctrl+c", "input_paste": "ctrl+v", "input_submit": "return", "input_newline": "shift+return,ctrl+return,alt+return,ctrl+j", "input_move_left": "left,ctrl+b", "input_move_right": "right,ctrl+f", "input_move_up": "up", "input_move_down": "down", "input_select_left": "shift+left", "input_select_right": "shift+right", "input_select_up": "shift+up", "input_select_down": "shift+down", "input_line_home": "ctrl+a", "input_line_end": "ctrl+e", "input_select_line_home": "ctrl+shift+a", "input_select_line_end": "ctrl+shift+e", "input_visual_line_home": "alt+a", "input_visual_line_end": "alt+e", "input_select_visual_line_home": "alt+shift+a", "input_select_visual_line_end": "alt+shift+e", "input_buffer_home": "home", "input_buffer_end": "end", "input_select_buffer_home": "shift+home", "input_select_buffer_end": "shift+end", "input_delete_line": "ctrl+shift+d", "input_delete_to_line_end": "ctrl+k", "input_delete_to_line_start": "ctrl+u", "input_backspace": "backspace,shift+backspace", "input_delete": "ctrl+d,delete,shift+delete", "input_undo": "ctrl+-,super+z", "input_redo": "ctrl+.,super+shift+z", "input_word_forward": "alt+f,alt+right,ctrl+right", "input_word_backward": "alt+b,alt+left,ctrl+left", "input_select_word_forward": "alt+shift+f,alt+shift+right", "input_select_word_backward": "alt+shift+b,alt+shift+left", "input_delete_word_forward": "alt+d,alt+delete,ctrl+delete", "input_delete_word_backward": "ctrl+w,ctrl+backspace,alt+backspace", "history_previous": "up", "history_next": "down", "session_child_cycle": "<leader>right", "session_child_cycle_reverse": "<leader>left", "session_parent": "<leader>up", "terminal_suspend": "ctrl+z", "terminal_title_toggle": "none", "tips_toggle": "<leader>h", "display_thinking": "none" } } ``` Hopefully this will be helpful, but this is almost the default setting.
Author
Owner

@XiaoPengYouCode commented on GitHub (Feb 15, 2026):

Image

It looks like this

@XiaoPengYouCode commented on GitHub (Feb 15, 2026): <img width="2724" height="300" alt="Image" src="https://github.com/user-attachments/assets/9c2a9482-332a-4006-958d-1290b7b7df74" /> It looks like this
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4128