Server.SearchClients
SearchClients returns a newly materialized snapshot projection of clients selected by tmux's live -f expression. A nil filter omits -f and requests the unfiltered listing on every supported tmux version. A nonnil filter, including an empty expression, requires tmux 3.4 or newer and otherwise returns VersionTooLowError.
Source and package
- Qualified name
-
tmux.Server. Search Clients - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/search.go
- func (s Server) SearchClients( ctx context
.Context , filter *TmuxFilter , ) ([]Client, error) -
- Parameters
-
-
filter(*TmuxFilter ) #
tmux command#
The tmux commands behind SearchClients.
list-clients run-shell (the Server has no daemon identity) tmux C API#
The C declarations in tmux that implement these commands.