opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Chinese text in background chat disappears when Ctrl+P command menu is open

Open StevenTan opened this issue 10 months ago • 4 comments

Description

When opening the command menu with Ctrl+P, Chinese (CJK) text in the background chat view disappears. After closing the menu, the Chinese text renders correctly again.

This only affects background content while the popup is open.

Plugins

none

OpenCode version

1.1.12

Steps to reproduce

  1. Start opencode and have a chat containing Chinese text
  2. Press Ctrl+P to open the command/menu popup
  3. Observe that Chinese text in the background chat view is no longer visible
  4. Close the popup — the Chinese text reappears immediately

Screenshot and/or share link

Image Image

Operating System

macOS 15.1

Terminal

iTerm2

StevenTan avatar Jan 10 '26 15:01 StevenTan

For keybind-related issues, please also check our pinned keybinds documentation: #4997

github-actions[bot] avatar Jan 10 '26 15:01 github-actions[bot]

Hint LLM to "Say hello in Chinese, Japanese and Korean". After getting the answer, press Ctrl+P and see the bug, as shown in the gif below

Image

AvatarGanymede avatar Mar 20 '26 14:03 AvatarGanymede

Seems like it's the bug from opentui: https://github.com/anomalyco/opentui/issues/837

AvatarGanymede avatar Mar 22 '26 14:03 AvatarGanymede

To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

github-actions[bot] avatar Jul 03 '26 03:07 github-actions[bot]