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

libtmux.common.has_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_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.