Core Library0.xAPI Reference

Choose documentation 3

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.

method libtmux-go latest

Server.ListClients

ListClients returns an owned snapshot of raw tmux client-description lines, the text tmux itself prints. A list failure is returned rather than answered with no rows. Server.Clients answers the same question as typed Client records and is what most callers want.

Source and package
Qualified name
tmux.Server.ListClients
Package
tmux
Declared in
Server
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/server_keys.go
func (s Server) ListClients( ctx context.Context, ) ([]string, error)
Parameters

tmux command#

The tmux commands behind ListClients.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference