Core Library0.xAPI reference

Choose documentation 2

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

cmdlet libtmux-powershell

LibTmux.Get-TmuxClient

Read the clients attached to a tmux server.

Source and package
Qualified name
LibTmux\Get-TmuxClient
Declared in
LibTmux
Package
LibTmux
Source
src/LibTmux.PowerShell/GetTmuxClientCommand.cs

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
Parameters
Common parameters 12

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

Returns

LibTmux.Client: Native observed result.

Examples

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

Terminal window
$server | LibTmux\Get-TmuxClient

Same owner

containment 1 of 58 shown

Other members of LibTmux whose names share Get-TmuxClient. They sit on the same type; that does not make them behave alike.

All 58 members of LibTmux

Recorded calls

source calls
No call edges in the PowerShell model.

The PowerShell reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux\Get-TmuxClient.

tmux command

task material

The tmux commands behind Get-TmuxClient.

tmux C API

task material

The C declarations in tmux that implement these commands.

In other ports

task equivalence 19 other ports mapped

Source-verified mappings for List the server's attached clients. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

List the server's attached clients in each port
PortAPIDiffers from PowerShell
PowerShell LibTmux\Get-TmuxClient
Read the clients attached to a tmux server.
This page
Python libtmux.Server.clients
Clients attached to this tmux server.
None recorded in the model
Ruby LibTmux::Server#list_clients
Behavior: Live acquisition.
None recorded in the model
Julia LibTmux.clients
clients reads attached clients from a captured Snapshot without contacting tmux.
Elixir LibTmux.Snapshot.clients/1
Returns a materialized attached-client selection without I/O.
Returns a Selection of captured attached clients without contacting tmux.
Common Lisp libtmux:clients
Return a fresh vector of attached-client observations, without I/O. Preserve listing order and multiplicity, including repeated target names.
3 overloads
clients returns fresh attached-client observations from a retained snapshot.
TypeScript server.Server.clients
Every client attached to the server.
async
Rust server.Server.clients
List every client attached to the server, preserving any failure.
async
Go tmux.Server.Clients
Clients materializes attached clients. Failures, including ErrNoServer, remain errors rather than empty results.
None recorded in the model
Java io.github.libtmux.Server.clients
Captures every attached client.
None recorded in the model
Clojure libtmux.core/clients!
Acquires captured clients.
None recorded in the model
Kotlin io.github.libtmux.kotlin.Server.clients
Captures every attached client.
async
Scala io.github.libtmux.scaladsl.Server.clients
Captures every attached client.
None recorded in the model
C# LibTmux.Server.Clients
Gets the clients this handle captured.
None recorded in the model
F# LibTmux.FSharp.Server.clients
Queries attached clients.
Builds a deferred client query on the shared .NET LibTmux.Server. Query.list acquires attached clients.
C++ libtmux::Server::clients readonly
Swift Server.clients()
Every client attached to this server.
async
OCaml Libtmux.Snapshot.clients
Collections and their contents are immutable. They retain capture order, are replayable and remain readable after the acquiring client closes.
Reads captured attached-client observations, separate from transport Client.t handles.
Perl LibTmux::Snapshot::clients
Return a fresh LibTmux::ClientSelection in captured order. A loaded empty client set is valid.
Local captured client membership; Server::clients explicitly acquires a new graph.
Raku LibTmux::Model::Snapshot.clients
Captured attached clients with their observed process and creation identity.
None recorded in the model
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No equivalent is recorded in Lua or Erlang.

Esc
Search in

Type to search.

Reference previewOpen reference