libtmux Reference MCP Search
On this page

.NET API reference

1601 symbols, extracted from source. Every type name in a signature links to its own entry; every cross-reference in a doc comment resolves against the same table.

By module 7 modules

  • LibTmux 167
  • LibTmux.Internal 62
  • LibTmux.Query 40
  • LibTmux.Testing 11
  • LibTmux.Workspace 11
  • LibTmux.Query.Json 5
  • Types 26
Server 3 types
Session 5 types
Window 4 types
Pane 5 types
Client 2 types
Hooks 3 types
Options 4 types
Buffers 1 type
Layout and geometry 1 type
Environment 2 types
Commands 2 types
Control mode 10 types
Queries 18 types
Queries — Fields 4 types
Queries — Operators 2 types
Queries — Expressions 15 types
Snapshots 4 types
Workspaces — Plans 6 types
Requests 30 types
BindKeyRequest 6 members

Describes one bind-key invocation.

ChooseTreeSort 4 members

Names how a chooser orders its rows.

ChooseTreeRequest 8 members

Describes one choose-tree invocation.

PromptType 4 members

What a command prompt is asking for.

CommandPromptRequest 14 members

Describes one command-prompt invocation.

ConfirmBeforeRequest 6 members

Describes one confirm-before invocation.

CopyModeRequest 7 members

Describes one copy-mode invocation.

DisplayMenuRequest 14 members

Describes one display-menu invocation.

DisplayMessageRequest 11 members

Describes one display-message invocation.

PopupCloseMode 2 members

Names when a popup closes on its own.

DisplayPopupRequest 18 members

Describes one display-popup invocation.

GetOptionRequest 7 members

Describes one show-options invocation for a single option.

GetOptionsRequest 6 members

Describes one show-options invocation for every option in a scope.

HookRequest 4 members

Describes one hook to read, run, or unset.

IfShellRequest 6 members

Describes one if-shell invocation.

ListBuffersRequest 3 members

Describes one list-buffers invocation.

ListHooksRequest 3 members

Describes one show-hooks invocation.

PasteBufferRequest 7 members

Describes one paste-buffer invocation.

RespawnRequest 5 members

Describes one respawn-window or respawn-pane invocation.

RunShellRequest 9 members

Describes one run-shell invocation.

SelectLayoutMode 3 members

Names a layout change that needs no layout string.

SelectLayoutRequest 3 members

Describes one select-layout invocation.

SendKeysRequest 12 members

Describes one send-keys invocation.

SetHookRequest 8 members

Describes one set-hook invocation.

SetHooksRequest 6 members

Describes setting several entries of one hook at once.

SetOptionRequest 9 members

Describes one set-option invocation.

UnbindKeyRequest 5 members

Describes one unbind-key invocation.

UnsetOptionRequest 6 members

Describes one set-option -u invocation.

TmuxWaitMode 4 members

What to do with a wait-for channel.

WaitForRequest 3 members

Describes one wait-for invocation.

Requests — Server 1 type
Requests — Session 2 types
Requests — Window 6 types
Requests — Pane 10 types
Errors 15 types
Errors — Server 1 type
Errors — Session 1 type
Errors — Window 1 type
Errors — Pane 1 type
Constants and enums 16 types
Constants and enums — Server 1 type
Constants and enums — Pane 1 type
Testing utilities 11 types
Internal 8 types
Internal — Materialisation 10 types
Internal — Compatibility 12 types
Internal — Diagnostics 3 types
Internal — Commands 12 types
Internal — Formats 3 types
Internal — Options 1 type
Internal — Environment 1 type
Internal — Capabilities 2 types
Internal — Server 2 types
Other 5 types
Functions and constants 0 types
CapturePanePosition ( lineNumber : int )
function [source]
function [source]
CapturePanePosition

Initializes a position at one line.

Parameters
  • lineNumber ( int ) – The line, where zero is the top of the visible pane.

CheckMinimumSupportedVersionAsync ( throwIfUnsupported : bool , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
CheckMinimumSupportedVersionAsync

Checks the package minimum and optionally throws.

CompareTo ( other : TmuxVersion ) int
function [source]
function [source]
CompareTo

Compares parsed tmux versions.

DetectAsync ( tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<TmuxVersion>
functionstaticasync [source]
functionstaticasync [source]
DetectAsync

Detects the selected tmux executable version.

DetectStringAsync ( tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<string>
functionstaticasync [source]
functionstaticasync [source]
DetectStringAsync

Detects the selected tmux executable version string.

EnsureAtLeast ( minimum : TmuxVersion ) void
function [source]
function [source]
EnsureAtLeast

Throws when this version is below a minimum.

EnsureMinimumSupportedVersionAsync ( tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task
functionstaticasync [source]
functionstaticasync [source]
EnsureMinimumSupportedVersionAsync

Throws when installed tmux is below the package minimum.

ExecuteAsync ( arguments : IReadOnlyList<string> , cancellationToken : CancellationToken ) Task<TmuxCommandResult> ( request : TmuxCommandRequest , cancellationToken : CancellationToken ) Task<TmuxCommandResult>
functionoverload2 overloads [source]
functionoverload2 overloads [source]
ExecuteAsync
Field ( field : FieldNode , elementType : Type , role : QueryFieldRole ) QueryFieldAccessor
function [source]
function [source]
Field
Fingerprint ( ) string
function [source]
function [source]
Fingerprint
ForName ( socketRoot : string , socketName : string ) TmuxEndpointIdentity
functionstatic [source]
functionstatic [source]
ForName
ForPath ( socketPath : string ) TmuxEndpointIdentity
functionstatic [source]
functionstatic [source]
ForPath
ForPsmux ( dataDirectory : string , socketName : string ) TmuxEndpointIdentity
functionstatic [source]
functionstatic [source]
ForPsmux
From ( id : SessionId ) TmuxTarget ( id : WindowId ) TmuxTarget ( id : PaneId ) TmuxTarget
functionstaticoverload3 overloads [source]
functionstaticoverload3 overloads [source]
From
HasReservedName ( line : string ) bool
functionstatic [source]
functionstatic [source]
HasReservedName
In ( session : SessionId , id : WindowId ) TmuxTarget ( session : SessionId , id : PaneId ) TmuxTarget
functionstaticoverload2 overloads [source]
functionstaticoverload2 overloads [source]
In

Names a window inside one session.

A window linked into several sessions resolves from a bare identifier to whichever session tmux ranks best, which need not be the one a handle was read in. Naming the session keeps the answer where the caller is.

IsAtLeast ( minimum : TmuxVersion ) bool
function [source]
function [source]
IsAtLeast

Reports whether this version meets a minimum.

IsInstalledAtLeastAsync ( version : TmuxVersion , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
IsInstalledAtLeastAsync

Checks whether installed tmux meets a minimum.

IsInstalledAtMostAsync ( version : TmuxVersion , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
IsInstalledAtMostAsync

Checks whether installed tmux is at most a maximum.

IsInstalledNewerThanAsync ( version : TmuxVersion , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
IsInstalledNewerThanAsync

Checks whether installed tmux is newer.

IsInstalledOlderThanAsync ( version : TmuxVersion , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
IsInstalledOlderThanAsync

Checks whether installed tmux is older.

IsInstalledVersionAsync ( version : TmuxVersion , tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstaticasync [source]
functionstaticasync [source]
IsInstalledVersionAsync

Checks exact installed version equality.

IsMinimumSupportedVersionInstalledAsync ( tmuxBinaryPath : string , cancellationToken : CancellationToken ) Task<bool>
functionstatic [source]
functionstatic [source]
IsMinimumSupportedVersionInstalledAsync

Reports whether installed tmux meets the package minimum.

Matches ( begin : ControlModeGuard ) bool
function [source]
function [source]
Matches
PaneId ( value : int )
function [source]
function [source]
PaneId

Initializes a pane identifier.

Parse ( text : string ) PaneId
functionstatic [source]
functionstatic [source]
Parse

Parses a prefixed pane identifier.

QueryPlanBindings ( validation : QueryValidationResult )
function [source]
function [source]
QueryPlanBindings
Regex ( node : RegexNode ) Regex
function [source]
function [source]
Regex
RelationElementType ( field : FieldNode , relationType : Type ) Type
functionstatic [source]
functionstatic [source]
RelationElementType
ServerGeneration ( processId : int , startTime : long )
function [source]
function [source]
ServerGeneration

Initializes a server generation.

SessionId ( value : int )
function [source]
function [source]
SessionId

Initializes a session identifier.

TmuxProcessTransport ( executablePath : string , prefixArguments : IReadOnlyList<string>? , limits : TmuxTransportLimits? , launcher : Func<ProcessStartInfo, Process>? , timeProvider : TimeProvider? , beforeStart : Func<ProcessStartInfo, CancellationToken, ValueTask>? ) ( executablePath : string , launcher : ITmuxProcessLauncher , prefixArguments : IReadOnlyList<string>? , limits : TmuxTransportLimits? , timeProvider : TimeProvider? , beforeStart : Func<ProcessStartInfo, CancellationToken, ValueTask>? )
functionoverload2 overloads [source]
functionoverload2 overloads [source]
TmuxProcessTransport
TmuxVersion ( raw : string )
function [source]
function [source]
TmuxVersion

Initializes a tmux version.

ToString ( ) string
function [source]
function [source]
ToString

Returns the canonical prefixed identifier.

TryParse ( line : string , guard : ControlModeGuard ) bool ( text : string? , result : PaneId ) bool ( text : string? , result : SessionId ) bool ( text : string? , result : TmuxVersion ) bool ( text : string? , result : WindowId ) bool
functionstaticoverload5 overloads [source]
functionstaticoverload5 overloads [source]
TryParse

Tries to parse a prefixed pane identifier.

WindowId ( value : int )
function [source]
function [source]
WindowId

Initializes a window identifier.

BeginningOfHistory : CapturePanePosition
propertystatic [source]
propertystatic [source]
BeginningOfHistory

Gets the oldest line tmux still holds.

EndOfVisiblePane : CapturePanePosition
propertystatic [source]
propertystatic [source]
EndOfVisiblePane

Gets the last line of the visible pane.

IsStableRelease : bool
property [source]
property [source]
IsStableRelease
IsValid : bool
property [source]
property [source]
IsValid

Gets whether this value contains a parsed tmux version.

LineNumber : int?
property [source]
property [source]
LineNumber

Gets the line, or null for the extreme tmux writes as -.

Major : int
property [source]
property [source]
Major

Gets the parsed major version.

Metrics : QueryBindingMetrics
property [source]
property [source]
Metrics
Minor : int
property [source]
property [source]
Minor

Gets the parsed minor version.

ProcessId : int
property [source]
property [source]
ProcessId

Gets the tmux daemon process identifier.

Raw : string
property [source]
property [source]
Raw

Gets the exact normalized tmux version text.

StartTime : long
property [source]
property [source]
StartTime

Gets the tmux daemon start time.

Suffix : string?
property [source]
property [source]
Suffix

Gets the exact preserved suffix projection.

Value : int
property [source]
property [source]
Value

Gets the nonnegative numeric value.

Esc

Type to search.