You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Garbage characters printed when attaching remote tmux session #18600
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)
This is a duplicate of #18004. I think this is probably the result of tmux changing the default escape-time recently (see #18004 (comment) for more details). You can try setting that back to a more sensible value and see if it makes any difference, i.e. add something like set -sg escape-time 500 in your .tmux.conf file.
Reacted by Naftali, Johnny Bravo, Jeremiah Lowe, Tobias Brückner, zeit, Zachary Lawrence, Changwei Miao, Kunihiko Miyoshi, Hirbod Behnam, masterflitzer and 1 more
Activity
itszn commentedon Feb 20, 2025
Same issue here, this happens constantly.
It seems to happen most often when resizing a page (ie alt+f or alt+enter)
j4james commentedon Feb 20, 2025
This is a duplicate of #18004. I think this is probably the result of tmux changing the default
escape-timerecently (see #18004 (comment) for more details). You can try setting that back to a more sensible value and see if it makes any difference, i.e. add something likeset -sg escape-time 500in your.tmux.conffile.naftasantos commentedon Feb 20, 2025
Updating
escape-timeworked for me. For refence, I also had to disablefocus-events:Otherwise other characters would show up, for example:
Thanks!
fix(tmux): Avoid garbage characters on Windows Terminal
tmux: change escape-time again...
DHowett commentedon Sep 26, 2025
DHowett commentedon Sep 26, 2025
DHowett commentedon Sep 26, 2025
fix(tmux): Avoid garbage characters on Windows Terminal