Code highlight problem in tmux #8592

Open
opened 2026-02-16 18:10:20 -05:00 by yindo · 1 comment
Owner

Originally created by @alexey-yanchenko on GitHub (Feb 5, 2026).

Originally assigned to: @kommander on GitHub.

Description

In diff mode, the code has a strange background highlighting of some words. This only applies when OpenCode is running in TMUX. (tmux 3.6a)

Plugins

No response

OpenCode version

1.1.47

Steps to reproduce

No response

Screenshot and/or share link

Image

Operating System

NixOS 25.11

Terminal

Ghostty

Originally created by @alexey-yanchenko on GitHub (Feb 5, 2026). Originally assigned to: @kommander on GitHub. ### Description In diff mode, the code has a strange background highlighting of some words. This only applies when OpenCode is running in TMUX. (tmux 3.6a) ### Plugins _No response_ ### OpenCode version 1.1.47 ### Steps to reproduce _No response_ ### Screenshot and/or share link <img width="3493" height="924" alt="Image" src="https://github.com/user-attachments/assets/98a1d70e-c90f-4565-aa8e-07e0b2971fc0" /> ### Operating System NixOS 25.11 ### Terminal Ghostty
yindo added the opentuibugnix labels 2026-02-16 18:10:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 5, 2026):

This issue might be a duplicate of or related to existing tmux/terminal rendering issues. Please check:

  • #12082: Clipboard copy fails in Zellij and other multiplexers (OSC52 rendering issues)
  • #9942: Copy-on-Select fails when running opencode via Tmux in Kitty terminal
  • #10129: opencode cannot run in Git Bash tmux
  • #8484: Screen lag/freezing when typing text (WSL2, TMUX, Alacritty)

These issues suggest there may be broader terminal multiplexer rendering/escape sequence handling problems that could be related to your diff highlighting issue.

Feel free to ignore if your specific case differs from these.

@github-actions[bot] commented on GitHub (Feb 5, 2026): This issue might be a duplicate of or related to existing tmux/terminal rendering issues. Please check: - #12082: Clipboard copy fails in Zellij and other multiplexers (OSC52 rendering issues) - #9942: Copy-on-Select fails when running opencode via Tmux in Kitty terminal - #10129: opencode cannot run in Git Bash tmux - #8484: Screen lag/freezing when typing text (WSL2, TMUX, Alacritty) These issues suggest there may be broader terminal multiplexer rendering/escape sequence handling problems that could be related to your diff highlighting issue. Feel free to ignore if your specific case differs from these.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8592