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

Elixir API

API reference

Browse the Elixir types and operations for working with tmux. Start with the core objects below, or search for a type or member.

128 types, 162 functions and 78 fields.

Also on HexDocs · source libtmux/libtmux-elixir@5bacf40788b4
Server 1 type
Server struct 24 members

Describes a local tmux server for capturing state and running commands.

Session 1 type
Session struct 15 members

An immutable session observation with explicit actions. Attachment retains tmux's client count.

Window 2 types
Window struct 17 members

An immutable physical window with explicit actions, independent of session membership and index.

WindowLink struct 9 members

An observed session/index/window binding with an explicit unlink action.

Pane 1 type
Pane struct 32 members

An immutable physical pane with explicit actions. It belongs to a window; text may be empty.

Client 1 type
Client struct 8 members

An immutable attached-client observation, keyed by validated client name.

Hooks 1 type
Hook module 2 members

Sets and shows a built-in hook on a one-shot tmux server descriptor.

Options 1 type
Option module 6 members

Sets and reads tmux options through a one-shot server descriptor.

Terminal capabilities 1 type
Capabilities struct 16 members

Named tmux primitive requirements on an observed daemon.

Versions 1 type
ReleaseMap module 6 members

Looks up native tmux names and flags in the source of exact upstream releases.

Commands 5 types
Command struct 5 members

A command value with separate argv and tmux-text renderers.

Deadline struct 4 members

A node-local monotonic deadline shared by every stage of an operation.

Operation struct 18 members

A retained operation handle pinned to its original owner, tables and epoch.

Native module 1 member

Finds the Linux I/O helper built with libtmux.

OneShot module 4 members

Executes one explicitly selected executable with bounded captured output.

Control mode 2 types
Control struct 22 members

A qualified control connection for scoped and managed execution.

Protocol struct 7 members

Assembles bounded control-mode replies and lexical notifications from bytes.

Formats 2 types
Codec module 4 members

Decodes bounded field responses and control-output bytes.

Format module 2 members

Constructs literal operands for tmux formats without evaluating their text.

Queries 4 types
Filter struct 11 members

A validated portable predicate over one observed entity type.

Schema module 17 members

Defines observed fields, wire names and graph relations.

Selection struct 13 members

An ordered, materialized Enumerable over one captured entity type.

Wire module 4 members

Bounded JSON decoding with duplicate keys preserved until validation.

Snapshots 3 types
Capture module 4 members

Builds a bounded one-shot observation of one existing Linux tmux server.

Ref struct 9 members

An exact observed target bound to one server instance.

Snapshot struct 32 members

An indexed immutable graph observed over a capture interval.

Requests 1 type
Request struct 4 members

Data for the qualified control lane's supported commands.

Errors 4 types
CompletionError exception 2 members

An action result did not meet an explicit completion requirement.

ExecutionError exception 4 members

A managed execution reported an error after admission.

ScopeFailure exception 2 members

A scoped callback finished, but connection cleanup was not proved.

Error exception 9 members

An inspectable failure with its phase and certainty about effects.

Constants and enums 1 type
Action module 9 members

Shared results for explicit pane, window and session actions.

Other 2 types
Program struct 14 members

Concept for running an owned application in a new tmux pane.

Settings module 10 members

Lists and looks up built-in tmux options and hooks by release.

By module 4 modules

Esc
Search in

Type to search.

Reference previewOpen reference