Skip to content

Tmux copy-mode copied text loss #1002

@sekirocc

Description

@sekirocc

Which operating system does the issue occur on?
elementary OS
If on linux, are you using X11 or Wayland?
X11.

I use tmux and tmux-plugins/tmux-yank to copy text to system clipboard (through copy-mode y command). When I copied, say 30 lines, and CTRL-V paste them to sublime, there are only 10 lines pasted, the other lines are lost.

copied

➜  / ll
total 100K
drwxr-xr-x   2 root root 4.0K 1月   6 12:09 bin
drwxr-xr-x   4 root root 4.0K 1月   6 11:25 boot
drwxrwxr-x   2 root root 4.0K 1月   6 11:16 cdrom
drwxr-xr-x  20 root root 4.3K 1月   7 09:08 dev
drwxr-xr-x 141 root root  12K 1月   7 09:15 etc
drwxr-xr-x   3 root root 4.0K 1月   6 11:17 home
lrwxrwxrwx   1 root root   33 1月   6 11:24 initrd.img -> boot/initrd.img-4.4.0-104-generic
lrwxrwxrwx   1 root root   33 1月   6 11:17 initrd.img.old -> boot/initrd.img-4.10.0-32-generic
drwxr-xr-x  23 root root 4.0K 1月   6 11:23 lib
drwxr-xr-x   2 root root 4.0K 1月   6 11:23 lib32
drwxr-xr-x   2 root root 4.0K 8月  15 03:24 lib64
drwx------   2 root root  16K 1月   6 11:13 lost+found
drwxr-xr-x   3 root root 4.0K 1月   6 15:39 media
drwxr-xr-x   2 root root 4.0K 8月  15 03:23 mnt
drwxr-xr-x   2 root root 4.0K 8月  15 03:23 opt
dr-xr-xr-x 255 root root    0 1月   7 09:08 proc
drwx------   3 root root 4.0K 8月  15 03:39 root
drwxr-xr-x  28 root root  860 1月   7 09:13 run
drwxr-xr-x   2 root root  12K 1月   6 11:23 sbin
drwxr-xr-x   2 root root 4.0K 8月  15 03:23 srv
dr-xr-xr-x  13 root root    0 1月   7 10:44 sys
drwxrwxrwt  14 root root 4.0K 1月   7 10:38 tmp
drwxr-xr-x  12 root root 4.0K 1月   6 11:23 usr
drwxr-xr-x  13 root root 4.0K 8月  15 03:39 var
lrwxrwxrwx   1 root root   30 1月   6 11:24 vmlinuz -> boot/vmlinuz-4.4.0-104-generic
lrwxrwxrwx   1 root root   30 1月   6 11:17 vmlinuz.old -> boot/vmlinuz-4.10.0-32-generic

pasted

➜  / ll
total 100K
drwxr-xr-x   2 root root 4.0K 1月   6 12:09 bin
drwxr-xr-x   4 root root 4.0K 1月   6 11:25 boot
drwxrwxr-x   2 root root 4.0K 1月   6 11:16 cdrom
drwxr-xr-x  20 root root 4.3K 1月   7 09:08 dev
drwxr-xr-x 141 root root  12K 1月   7 09:15 etc
drwxr-xr-x   3 root root 4.0K 1月   6 11:17 home
lrwxrwxrwx   1 root root   33 1月   6 11:24 initrd.img -> boot/initrd.img-4.4.0-104-generic
lrwxrwxrwx   1 root root   33 1月   6 11:17 initrd.img.old -> boot/initrd.img-4.10.0-32-generic
drwxr-xr-x  23 root root 4.0K 1月   6 11:23 lib
drwxr-xr-x   2 root root 4.0K 1月   6 11:23 lib32
drwxr-xr-x   2 root root 4.0K 8月  15 03:24 lib64
drwx------   2 root root  16K 1月   6 11:13 lost+found
drwxr-xr-x   3 root root 4.0K 1月   6 15:39 media

Tested with system terminal, It works fine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions