Skip to content

macOS paste with CMD+V stopped working in v3.5a #4273

@hovsater

Description

@hovsater

Issue description

The issue is described in detail in #4175, but it was locked so I could not reuse it. While building from master makes this better, it's still not solved. Some of the pastes still emit the escape sequences and end up on a single line. In fact, it's more inconsistent now than before, as before all pastes would inline and emit escape sequences and now some work, some inline without escape sequences and some emit escape sequences.

Here's an example of be pasting the following contents three times in a row.

abc
def
123
456

The output:

abc
def
123
456
abcdef123456abc
def
123
456
^[[201~

As you can see, the first paste is correct. The second paste is inlined without escape sequences and the last paste in mult-line but with escape sequences being emitted.

Required information

Please provide the following information:

  • tmux version (tmux -V). tmux next-3.6
  • Platform (uname -sp). Darwin arm
  • $TERM inside and outside of tmux (echo $TERM). tmux-256color and xterm-ghostty
  • Logs from tmux (tmux kill-server; tmux -vv new).

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