Plugin(fix): Read the tmux version from the selected server · tmux-python/tmuxp@44da478 · GitHub
Skip to content

Commit 44da478

Browse files
committed
Plugin(fix): Read the tmux version from the selected server
why: libtmux.common.get_version() now warns with DeprecationWarning because it reads the client executable, not the daemon a Server talks to. what: - Build the plugin's tmux version from server_version(Server()), stripping letter suffixes as get_version() did - Reach libtmux's version check through the guarded backend import
1 parent a799250 commit 44da478

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

‎src/tmuxp/plugin.py‎

Lines changed: 6 additions & 2 deletions

0 commit comments

Comments
 (0)