Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
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

struct libtmux-elixir

Capabilities

Named tmux primitive requirements on an observed daemon.

Source and package
Qualified name
LibTmux.Capabilities
Module
LibTmux
Package
libtmux
Source
lib/libtmux/capabilities.ex
struct LibTmux.Capabilities

Description

Obtain a report with LibTmux.Server.capabilities/2 or LibTmux.Control.capabilities/2. Decisions describe native tmux primitives; they do not advertise an implemented Elixir Program API. Unknown releases refuse discovery. For unknown feature IDs, status/2 and require/2 return an explicit error; supports?/2 returns false.

Reports are captured data. Pure checks perform no I/O and grant no mutation authority. Editing a report cannot change the registry or another report. A later operation still needs its own identity and capability checks.

Server discovery requires the native, unaliased list-commands bootstrap throughout the call, without concurrent administrative changes. Control discovery inherits the connection's host qualification for hooks and aliases.

Members16 members

Order: the accessors that walk the hierarchy, the operations the ports share, then the rest.

Esc
Search in

Type to search.

Reference previewOpen reference