tmux-plugins/tmux-yank

Copy gets cut

Brottweiler opened this issue · 3 comments

Listing contents of a folder as example. It gets cut in the middle of

% xs -l
drwxr-xr-x - brott  8 Mar 21:00 DS
drwxr-xr-x - brott  5 May  0:52 GameBoy
drwxr-xr-x - brott 15 Mar 20:04 GameBoy Advance
drwxr-xr-x - brott  7 Mar 22:18 GameBoy Color
drwx------ - brott  8 Mar 17:46 NES
drwx------  

It should look like this, copied outside of tmux

% xs -l
drwxr-xr-x - brott  8 Mar 21:00 DS
drwxr-xr-x - brott  5 May  0:52 GameBoy
drwxr-xr-x - brott 15 Mar 20:04 GameBoy Advance
drwxr-xr-x - brott  7 Mar 22:18 GameBoy Color
drwx------ - brott  8 Mar 17:46 NES
drwx------ - brott  7 Mar 21:00 SNES

I'm seeing this as well in mac OS Mojave 10.14.3

Using the default settings:

set-option -g default-command "reattach-to-user-namespace -l $SHELL"
set -g @plugin 'tmux-plugins/tmux-yank'

Actually, this might not be a plugin issue. I think this happens when you set set-option -g mouse on and you use the mouse to select text.. When I do it with shift+arrows to select it seems to work fine.

Ty! that solves it