gpakosz / .tmux

🇫🇷 Oh my tmux! My self-contained, pretty & versatile tmux configuration made with ❤️
MIT License
21.54k stars 3.33k forks source link

tmux 3.4-1 prints weird characters on every startup #720

Closed module0x90 closed 5 months ago

module0x90 commented 5 months ago

Hi,

just to let you know, I am on Arch Linux and with the recent upgrade of tmux (3.3_a-7 -> 3.4-1) every time I start a terminal (urxvt) with tmux I get this:

^[]10;rgb:e5e5/e5e5/e5e5^[^[]11;rgb:0000/0000/0000^[

.. and then the actual terminal prompt In my setup - but I have a rather elaborate setup with a .zlogin script as well as some tmux plugins, it appears it somehow issues an "Esc" key stroke twice, as it prefixes the garbage output with "sudo". My zsh has Esc-Esc mapped to prefix the current command with "sudo".

Just a heads up. I have downgraded tmux for now and I might look into this issue in a little while.

This might have probably to do with (tmux changelog)

as there was a similar issue (same output)

https://github.com/TaDaa/vimade/issues/23

logged for vim (but quite a while back). Also please see https://www.reddit.com/r/vim/comments/cnyrva/first_line_occasionally_has_weird_characters_and/, where TaDaaAhah (https://www.reddit.com/user/TaDaaAhah) wrote:

"For the weird text it looks like ansii query for terminal colors ."

Cheers

Tom

gpakosz commented 5 months ago

Hello Tom,

First thin you can try is to launch tmux with a stock configuration:

$ tmux -f /dev/null -L test

Then in case there's a problem with the tmux-color terminal definition, you can edit your .local customization file and add

set -g default-terminal "screen-256color" #!important
module0x90 commented 5 months ago

It happens also with stock config. The default-terminal line doesn't fix it.

This happens with urxvt, even xterm but not with sakura.

Feel free to close this, as I would say it comes down to tmux and the terminal someone is using. Nothing to do with your config. ;-)

module0x90 commented 5 months ago

WONTFIX