Skip to content

macOS paste with CMD+V occasionally stops working in next-3.5 #4431

@hovsater

Description

@hovsater

Issue description

As described in the original issue #4273, when pasting from the system clipboard, escape sequences are being produced in my text editor. Not always, but occasionally.

I primed my system clipboard with the contents:

abc
123

I then ran rm tmux*.log; tmux kill-server; tmux -vv -f /dev/null new followed by executing display-popup -E dte and then pasting from the system clipboard. Nothing happens. I paste again and the following output is produced in my text editor:

abc
123
^[[201~^[[200~abc
123

I then pressed C-s in my editor and saved the output to output.txt, pressed C-q to quit and then quit tmux altogether.

tmux-client-96473.log
tmux-out-96475.log
tmux-server-96475.log

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

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions