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

Client.ResolveAttachment

ResolveAttachment re-reads the client's live attached hierarchy.

Source and package
Qualified name
tmux.Client.ResolveAttachment
Package
tmux
Declared in
Client
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/client_attachment.go
func (c Client) ResolveAttachment( ctx context.Context, ) (ClientAttachment, error)

Description#

One resolution materializes one strict Snapshot. Snapshot collection is a multi-command observational read, so concurrent tmux changes may produce a partial hierarchy. A missing client, detached client, or stale session returns an empty attachment without an error. Other collection, decoding, and cardinality errors remain visible.

Parameters

tmux command#

The tmux commands behind ResolveAttachment.

list-clients list-panes -a server scope, cmd_list_panes_server list-sessions list-windows -a server scope, cmd_list_windows_exec run-shell (the Server has no daemon identity)

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference