Why does tmux/byobu fill my screen with garbage characters when I copy a selection?
There is an option set-clipboard
that will try to copy your selection to the x-clipboard with an escape sequence.
:set-option -s set-clipboard off
gnome-terminal does not support this method of using the clipboard, which is the default terminal in Ubuntu.
Edit ~/.tmux.conf
or with Byobu $HOME/.byobu/.tmux.conf
:
set -g set-clipboard off
- Reference on Reddit.