Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux

capability_since

Return the first tmux release that has capability_id.

Source and package
Qualified name
libtmux._internal.support.capabilities.capability_since
Module
libtmux._internal.support.capabilities
Package
libtmux
Source
src/libtmux/_internal/support/capabilities.py
capability_since (capability_id: str) → str

Description

Gates pass the result to libtmux.common.has_gte_version(), so the release a gate compares against lives in the table and nowhere else.

Parameters
Raises
  • KeyError – The table defines no capability with that id.

Examples

>>> capability_since("run-shell-start-directory")
'3.4'

Recorded calls

source calls
No call edges in the Python model.

The Python reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls libtmux._internal.support.capabilities.capability_since.

Esc
Search in

Type to search.

Reference previewOpen reference