Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased LibTmux has not been released. Its API may change during development. This site's structure and URLs may change too.

method libtmux-perl latest

Server.clients

clients().

Source and package
Qualified name
LibTmux::Server::clients
Module
LibTmux
Declared in
Server
Package
LibTmux
Source
packages/core/lib/LibTmux/Server.pm
sub clients($self, %args)

Description#

Acquire a graph and return its LibTmux::ClientSelection. A daemon without attached clients produces an empty selection. Membership is copied away from graph storage. Acquisition failures propagate through LibTmux::X; "detach_client" changes client state explicitly.

my $clients = $server->clients;

Methods#

Parameters

tmux command#

The tmux commands behind clients.

display-message (daemon identity or target preflight) list-clients list-panes -a server scope, cmd_list_panes_server list-sessions list-windows -a server scope, cmd_list_windows_exec

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference