scripts: helpers.sh: use primary clipboard on wayland with mouse#168
scripts: helpers.sh: use primary clipboard on wayland with mouse#168nunojsa wants to merge 1 commit intotmux-plugins:masterfrom
Conversation
Follow the same logic as in X and use the primary clipboard for Wayland sessions when mouse support is on. Note a new parameter (@yank_wayland_mouse), which is off by default, was introduced so that the old behavior is maintained. That means that users need to set the following in their tmux.conf: `set -g @yank_wayland_mouse 'true'` to enable the above behavior. Signed-off-by: Nuno Sa <noname.nuno@gmail.com>
|
@bruno- @ctjhoa @jbnicolai can anyone give some feedback or is this not maintained anymore? |
|
Hey! Thanks for the PR! |
Exactly...
Not sure about that. I think anyone using wayland with mouse will see different behavior. With this change |
Follow the same logic as in X and use the primary clipboard for Wayland sessions when mouse support is on.
Note a new parameter (@yank_wayland_mouse), which is off by default, was introduced so that the old behavior is maintained. That means that users need to set the following in their tmux.conf:
set -g @yank_wayland_mouse 'true'to enable the above behavior.