opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Characters are encoding gibberish all over the frontend

Open fkukuck opened this issue 1 month ago • 4 comments

Description

GNOME Terminal v3.28.3-4.el8 has problems rendering the TUI.

See screenshot. It's unusable by me and I've downgraded to v0.15.31.

OpenCode version

1.0.61

Steps to reproduce

  • Use GNOME Terminal v3.28.3-4.el8
  • opencode
  • be greeted with screen on screenshot

Screenshot and/or share link

Image

Operating System

RedHat Enterprise Linus 8.10

Terminal

GNOME Terminal v3.28.3-4.el8

fkukuck avatar Nov 14 '25 07:11 fkukuck

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

  • #3671: 1.0+ is unusable in non-truecolor terminal - Similar terminal rendering issues with older terminal versions
  • #2256: Bug [Visual]: TUI populated with gibberish upon copying - Same GNOME Terminal version experiencing gibberish characters
  • #2593: [bug] opencode produces gabled text when input containing non-ascii characters - Character encoding issues causing garbled text

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

github-actions[bot] avatar Nov 14 '25 07:11 github-actions[bot]

It thinks the terminal supports explicit width for some reason. These are explicit width sequences. The capability detection seems to be off here. I'll check that.

kommander avatar Nov 27 '25 06:11 kommander

Is there a solution to this problem? I am currently experiencing this issue in the latest version as well.

inv1s10n avatar Dec 23 '25 02:12 inv1s10n

Install a different terminal, such as Konsole

fkukuck avatar Dec 23 '25 07:12 fkukuck