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

libtmux.common.has_minimum_version

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
libtmux.common
Package
libtmux
Source
src/libtmux/common.py
has_minimum_version ( raises : bool = True , tmux_bin : str | None = None ) → bool
function [source]
function [source]
has_minimum_version

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

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

0 declared, 0 inherited

Esc

Type to search.