Skip to content

Tmux output numbers separated by semicolon at startup #272

Open

Description

@bsylvain

After installing TPM, when I start tmux it I have a value already typed on the prompt :
image

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.

Activity

  1. magoerlich commented on Jan 17, 2024

    @magoerlich

    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

  2. PunkPhysicist commented on Feb 16, 2024

    @PunkPhysicist

    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.

    New tmux session with tpm and tmux.conf

    New tmux session without tpm and tmux.conf

  3. magoerlich commented on Feb 19, 2024

    @magoerlich

    @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
    
  4. RossBarnie commented on Feb 20, 2024

    @RossBarnie

    To add another Windows Terminal example, TERM is tmux-256color:

    image

    ^[[>0;10;1c%
    [~]$ 0;10;1c
    
  5. PunkPhysicist commented on Feb 28, 2024

    @PunkPhysicist

    @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.

  6. PunkPhysicist commented on Mar 12, 2024

    @PunkPhysicist

    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.

  7. magoerlich commented on Mar 13, 2024

    @magoerlich

    @PunkPhysicist yes, how terminal escape codes are interpretd differs from Terminal Emulator to Terminal Emulator.
    So far the Emulators mentioned in this issue:

    • urxvt
    • Windows Terminal

    Any other emulator is probably working fine (unless otherwise reported)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions