-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminal putting ANSI Escape Code in terminal line when attaching tmux session #16384
Comments
This is quite likely the same issue as #7185. And it was suggested there that upgrading SSH might help. The other suggestion was to set a longer |
Thank you, @j4james! That handled it. I used the |
For anyone that ends up here and is using byobu, the tmux config is located at This config ended up solving the issue for me.
|
@noapoleon I was getting pretty much the exact same issue. The culprit looks to be tmux-sensible. In |
@noapoleon another option is to move the line |
Windows Terminal version
1.18.2822.0
Windows build number
10.0.22621.0
Other Software
I am using Windows terminal to connect via SSH (openSSH on Windows) to Linux machine. Once connected I run tmux attach to connect to an already running tmux session. The shell on Linux is zsh.
Steps to reproduce
Whenever I run "tmux attach -t session_name".
Expected Behavior
I should just be attaching to a detached session.
Actual Behavior
Whenever I connect to the detached session in Tmux, I get this input "61;6;7;22;23;24;28;32;42c" which seem line ANSI escape codes. This is annoying as if there is a process going in that tmux session this messes up the visual output of the script already running.
I tried running the same command on a Mac Machine using terminal and iTerm 2, and this error does not happen.
The text was updated successfully, but these errors were encountered: