Core LibrarystableAPI Reference

Choose documentation 3

stable

Current version

stable
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

function libtmux stable

has_minimum_version

Return True if tmux meets version requirement. Version >= 3.2a.

Source and package
Qualified name
libtmux.common.has_minimum_version
Module
libtmux.common
Package
libtmux
Source
src/libtmux/common.py
has_minimum_version ( raises: bool = True, tmux_bin: str | None = None ) → bool
Parameters
  • raises (bool) # – raise exception if below minimum version requirement

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

Returns

bool True if tmux meets minimum required version.

Raises
Esc

Type to search.

Reference preview Open reference