Open bsylvain opened 9 months ago
I got the same issue, but i don't think its a issue with TPM directly.
I use it on Ubuntu 20.04 via SSH from a Windows Terminal And I think thats where the issue lies: tpm/tmux using some escape codes the WT can't handle correctly. But thats just a guess based on my small knowledge about how terminals work and the observation that it works on all my systems unless i use Windows Terminal as Terminal Emulator.
I hope someone here with a little bit more knowledge can verify this somehow
I have this problem too on native Linux (on Arch Linux w/urxvt terminal). The problem seems to persist even if I move/delete the tmux.conf and ~/.tmux/ folder with my tpm plugins.
@PunkPhysicist is this via ssh? if so, do you have the urxvt terminfo installed on the remote host?
If not, or if you'r not sure try this:
# Local maschine, create terminfo file and copy it to remote
infocmp -L rxvt-unicode-256color > ~/rxvt-unicode-256color.terminfo
scp ~/rxvt-unicode-256color.terminfo serverip:/home/user/
# ssh into remote server and install it
install -d ~/.terminfo
tic -o .terminfo/ ~/rxvt-unicode-256color.terminfo
rm rxvt-unicode-256color.terminfo
To add another Windows Terminal example, TERM is tmux-256color
:
^[[>0;10;1c%
[~]$ 0;10;1c
@PunkPhysicist is this via ssh? if so, do you have the urxvt terminfo installed on the remote host?
If not, or if you'r not sure try this:
# Local maschine, create terminfo file and copy it to remote infocmp -L rxvt-unicode-256color > ~/rxvt-unicode-256color.terminfo scp ~/rxvt-unicode-256color.terminfo serverip:/home/user/ # ssh into remote server and install it install -d ~/.terminfo tic -o .terminfo/ ~/rxvt-unicode-256color.terminfo rm rxvt-unicode-256color.terminfo
No, this is not via ssh.
Update: This seems to only be an issue if I'm using the urxvt terminal (currently urxvt v9.31 released 2023-01-02), changing to any other terminal "solves" this problem for me.
@PunkPhysicist yes, how terminal escape codes are interpretd differs from Terminal Emulator to Terminal Emulator. So far the Emulators mentioned in this issue:
Any other emulator is probably working fine (unless otherwise reported)
After installing TPM, when I start tmux it I have a value already typed on the prompt :
I removed most of .zshrc and .tmux.conf (except tpm) and it still does it. I am using Tmux 3.2a with ubuntu 22 on WSL.