Skip to content

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

@rensftw

Description

@rensftw

Issue description

When I enable extended-keys on macOS the regular clipboard pasting with CMD-V stops working for multiline text - specifically, it starts adding this character escape code in place of newlines ^[[27;5;106~.
This is happening in both Alacritty and Terminal.app.

For example if I copy this:

line1
line2

and then paste inside tmux, I get this:

line1^[[27;5;106~line2
2024-10-08_12-21-35.mp4

Minimal tmux config

set -g extended-keys on
set -g default-terminal "tmux-256color"

Required information

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