If you want to copy text from tmux into your system clipboard using OSC52, you can enable it with a simple configuration change.
Add the following line to your ~/.tmux.conf:
set-option -g set-clipboard onReload tmux with:
tmux source-file ~/.tmux.confSend an OSC52 sequence that encodes the string hello in base64:
echo -en "\e]52;c;aGVsbG8=\a"If everything is configured correctly, the word hello will be copied into your system clipboard. You can confirm by pasting it into any application.