Garbage characters printed when attaching remote tmux session #22950

Open
opened 2026-01-31 08:28:12 +00:00 by claunia · 0 comments
Owner

Originally created by @naftasantos on GitHub (Feb 20, 2025).

Windows Terminal version

1.22.10352.0

Windows build number

10.0.26100.0

Other Software

I work on a remote linux development instance. On that instance, I use tmux a lot. Recently (I'm not really sure after which update) whenever I connect to either a new or an existing tmux session, the following characters are printed on my terminal:

10;rgb:ffff/ffff/ffff

Based on this issue posted on the tmux github, this seems to be a terminal issue (in their case rxvt).

This seems to be related with something unicode. I changed a few settings on my tmux like set -g terminal-overrides ",xterm-256color:Tc" and setting set -g focus-events off. But none seem to have fixed the issue.

Given the previous issue, and the fact that this started happening recently, I suspect it's a new feature from the Terminal.

Steps to reproduce

My setup:

  • Local Windows 11 (version mentioned on the windows version specific field)
  • Remote Amazon Linux 2 instance
  • zsh with oh-my-zsh and p10k theme
  • tmux with oh-my-tmux config

SSH to the remote host, attach a session.

Expected Behavior

When attaching the session, no characters should be printed.

Actual Behavior

Characters will be printed on the shell.

Originally created by @naftasantos on GitHub (Feb 20, 2025). ### Windows Terminal version 1.22.10352.0 ### Windows build number 10.0.26100.0 ### Other Software I work on a remote linux development instance. On that instance, I use `tmux` a lot. Recently (I'm not really sure after which update) whenever I connect to either a new or an existing tmux session, the following characters are printed on my terminal: ``` 10;rgb:ffff/ffff/ffff ``` Based on [this issue](https://github.com/tmux/tmux/issues/3852) posted on the tmux github, this seems to be a terminal issue (in their case `rxvt`). This seems to be related with something unicode. I changed a few settings on my tmux like `set -g terminal-overrides ",xterm-256color:Tc"` and setting `set -g focus-events off`. But none seem to have fixed the issue. Given the previous issue, and the fact that this started happening recently, I suspect it's a new feature from the `Terminal`. ### Steps to reproduce My setup: * Local Windows 11 (version mentioned on the windows version specific field) * Remote Amazon Linux 2 instance * zsh with oh-my-zsh and p10k theme * tmux with [oh-my-tmux config](https://github.com/gpakosz/.tmux) SSH to the remote host, attach a session. ### Expected Behavior When attaching the session, no characters should be printed. ### Actual Behavior Characters will be printed on the shell.
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:28:12 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22950