Core Library0.xAPI reference

Choose documentation 1

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

F# API

API reference

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

13 types, 128 functions, 4 methods, 14 fields and 57 constants.

source libtmux/libtmux-dotnet@aff7a75ace43
Server 1 type
Server module 13 members

Starts server reads and queries with the caller's cancellation token.

Session 2 types
Session module 7 members

Starts queries confined to one session.

SessionSpec struct 7 members

Describes a session and its windows, for Server.newSession.

Window 3 types
Window module 9 members

Identifies window placements and starts queries confined to one window.

Identifies one indexed placement of a window within a server generation.

WindowSpec struct 8 members

Describes a window: its first pane, then each pane split off the one before.

Pane 4 types
Pane module 23 members

Reads captured pane fields and starts explicit pane operations.

PaneRun module 1 member

Recognises how a command run with Pane.run ended.

PaneWait module 1 member

Recognises how a wait on a pane's output ended.

PaneWatch module 1 member

Recognises what a pane watch yields.

Layout and geometry 2 types
SplitSize enum 3 members

How much of the space split a new pane takes.

SplitSpec struct 7 members

Describes a pane split off the pane created before it.

Commands 2 types
Retry module 2 members

Runs an operation again only when tmux never saw it.

Chain module 8 members

Builds commands tmux runs together, each acting on what the one before made.

Control mode 3 types
StreamStep enum 2 members

Represents a decision to continue or stop an event fold.

Control module 10 members

Opens control clients and reads their event streams.

Mirror module 6 members

Follows a server's sessions, windows, panes and clients as tmux announces changes.

Queries 5 types
Selection module 1 member

Selects values from ordinary F# sequences.

Filter class 26 members

Describes a validated portable predicate over one entity type.

Relation class

Identifies a supported captured relation between two entity types.

ScreenSearch enum 4 members

Describes text tmux searches for on a pane's visible rows.

Query class 8 members

Describes a tmux listing: a scope, filters and text panes must show.

Queries — Fields 5 types
Field class

Identifies a supported scalar field and its query constant type.

SessionFields module 5 members

Provides supported session fields and relations for portable filters.

WindowFields module 14 members

Provides supported window fields and relations for portable filters.

PaneFields module 22 members

Provides supported pane fields for portable filters.

ClientFields module 2 members

Provides supported client fields for portable filters.

Snapshots 2 types
CaptureState enum 2 members

Distinguishes captured state from a relation the snapshot did not read.

Snapshot module 2 members

Reads captured values without contacting tmux.

Errors 2 types
CardinalityError enum 2 members

Describes a selection that does not contain exactly one match.

TmuxFailure module 3 members

Recognises tmux failures by whether running the operation again could repeat what it did.

Constants and enums 1 type
Options module 2 members

Reads and writes options through keys that know their value's type.

Async 1 type
TmuxAsync module 2 members

Awaits tasks in an async workflow without losing whether tmux may have acted.

Esc
Search in

Type to search.

Reference previewOpen reference