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

Adding `-w` to the `@thumbs-command` and `@thumbs-upcase-command`

Open ryaminal opened this issue 3 years ago • 0 comments

Versions and env variables that might help:

tmux = tmux next-3.3
alacritty = 0.8.0
TERM = alacritty

tmux-thumbs doesn't seem to consistently work without the -w on tmux set-buffer e.g. tmux set-buffer -w -- {} It seems that the option @thumbs-osc52 helps fix this, which makes sense. Only "downside" is that the output from the default command tmux set-buffer -- {} && tmux display-message \"Copied {}\" has some funky output because of the added escape sequence.

I'm wondering if there would be interest in me adding another boolean flag to thumbs, like @thumbs-term-escape, that adds the -w to the command. The results are likely identical to the @thumbs-osc52 but is "cleaner"?

Thought I'd ask in an issue first to see if there is any interest in doing this.

ryaminal avatar Jul 02 '21 16:07 ryaminal