libtmux Reference MCP Search
On this page

libtmux.common.has_version

View as Markdown

Module
libtmux.common
Package
libtmux
Source
src/libtmux/common.py
has_version ( version : str , tmux_bin : str | None = None ) bool
function [source]
function [source]
has_version

Return True if tmux version installed.

Parameters
  • version ( str ) – version number, e.g. '3.2a'

  • tmux_bin ( str | None ) – Path to tmux binary. If *None*, uses the system tmux.

Returns

bool True if version matches

0 declared, 0 inherited

Esc

Type to search.