← Back to context

Comment by mananaysiempre

2 days ago

Now that I’m looking at this again, I remember that the wl-copy (or xcopy or pbcopy) thing is a workaround for GNOME’s VTE terminal widget refusing to support the OSC 52 escape sequence for setting the clipboard. If your terminal emulator does speak that one, then you should be able to use the set-clipboard option[1] instead, which also has the advantage of working over a remote connection (because it’s in-band).

[1] https://github.com/tmux/tmux/wiki/Clipboard#the-set-clipboar...