Core LibraryAPI Reference

Choose documentation 2

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

cmdlet libtmux-powershell latest

LibTmux.Get-TmuxQueryField

LibTmux\Get-TmuxQueryField LibTmux\Get-TmuxQueryField

Discover query fields, operators and native bindings.

Source and package
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/GetTmuxQueryFieldCommand.cs

Description#

Return immutable descriptors from the shared LibTmux field catalog. Each descriptor identifies the wire field, supported operations, capture depth and native bindings. Discovery is local and requires no server or tmux executable. Client descriptors are available for inspection; the PowerShell structured selectors accept Session , Window and Pane targets. Operators use the native wire vocabulary: greaterThanOrEqual corresponds to the PowerShell criteria key Ge. See the criteria keys for the full mapping.

Notes

Catalog discovery does not refresh captured objects.

Command details#

Command type
cmdlet
Positional binding
Enabled.
Pipeline inputs
None: No pipeline input.
Outputs
LibTmux.Query.QueryFieldDescriptor

Examples#

Example 1 Inspect the pane-width field and its supported operations. View source

Terminal window
LibTmux\Get-TmuxQueryField -Target Pane | Where-Object WireName -EQ 'pane_width'
Parameters
Common parameters 12

PowerShell supplies these parameters. See common parameter behavior for their effects.

Returns

LibTmux.Query.QueryFieldDescriptor : Native descriptors in wire-name order.

Discussed in Local selection and source queries · Filter and query tmux objects

Esc

Type to search.

Reference preview Open reference