tmux-xpanes icon indicating copy to clipboard operation
tmux-xpanes copied to clipboard

-n option's behavior is different between Ubuntu and Alpine

Open greymd opened this issue 4 years ago • 1 comments

Command

xpanes -c 'echo {}' -n 2 2 '' 4 '' 6 8 10

Result (Ubuntu)

Screenshot 2020-05-03 at 21 09 09

Result(Alpine)

Screenshot 2020-05-03 at 21 08 50

Reason

Caused by difference of xargs since xpns_set_args_per_pane function depends on the xargs.

Screenshot 2020-05-03 at 20 56 57

Screenshot 2020-05-03 at 20 56 35

greymd avatar May 03 '20 20:05 greymd

Fixed in v4.1.2

$ xpanes -c 'echo {}' -n 2 2 '' 4 '' 6 8 10

=> works perfectly

But still it does not work in case of pipe mode.

$ echo "2 2 '' 4 '' 6 8 10" | xpanes -n 2

=> does not work.

Keep this issue open since this is future work.

greymd avatar May 09 '20 18:05 greymd