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-TmuxClient

LibTmux\Get-TmuxClient LibTmux\Get-TmuxClient

Read the clients attached to a tmux server.

Source and package
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/GetTmuxClientCommand.cs
Other languages
Julia (function)PythonRuby Lua TypeScriptRustGoJavaC#C++SwiftKotlinScalaF# (function)

Description#

Read current client rows through the native core. Name is an ordinal literal selector, not a wildcard or tmux target expression. Return native Client objects; an empty server or unmatched name produces no objects. AttachedSessionId is captured state, so use Get-TmuxClientAttachment to resolve the current attachment.

Notes

This read does not attach, detach or own any client. Listing an unavailable server writes an error.

Command details#

Command type
cmdlet
Positional binding
Enabled.
Pipeline inputs
LibTmux.Server : Native pipeline owner.
Outputs
LibTmux.Client

Examples#

Example 1 Read clients from a previously selected native $server . View source

Terminal window
$server | LibTmux\Get-TmuxClient
Parameters
Common parameters 12

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

Returns

LibTmux.Client : Native observed result.

tmux command list-clients

In other ports List the server's attached clients
Esc

Type to search.

Reference preview Open reference