tmux-which-key icon indicating copy to clipboard operation
tmux-which-key copied to clipboard

Not working with TMUX 3.0a

Open alejandroclaro opened this issue 1 year ago • 2 comments

The documentation states this should work with tmux >= 3.0. However, it does not work with tmux 3.0 because an unsupported argument in "setenv".

I was able to make it work by changing the line 135 in plugin/build.py from:

        return -h 'setenv {} "{}"'.format(self.name, self.value)

to

        return 'setenv {} "{}"'.format(self.name, self.value)

The option -hwas added to tmux in version 3.2. So, I suggest updating the documentation or removing the use of this option.

alejandroclaro avatar Jan 17 '24 11:01 alejandroclaro

I am on Tmux 3.4 and this plugin works for me.

Tested on OSX Sonoma 14.4

patrick-motard avatar Mar 27 '24 01:03 patrick-motard

I am on Tmux 3.4 and this plugin works for me.

Tested on OSX Sonoma 14.4

The issue is not with versions greater than 3.0. the issue is as a simple as an error in the documentation stating an incorrect minimum version.

I consider better option to keep compatibility with version 3.0, since LTS versions of major distro are shipped with this version.

alejandroclaro avatar Apr 15 '24 21:04 alejandroclaro