On this page
tmux.Client
- Module
- tmux
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/model.go
-
Client is one materialized tmux client record. It is normally returned by
Server.Snapshot,Server.Client, orClient.Refresh. A zero Client is not a usable tmux target.
34 declared, 0 inherited
Members
- Activity method Activity returns tmux #{client_activity} as time.Time from this Client's materialized client-scoped fields (tmux 3.2a or later).
- AttachedPane method AttachedPane returns the client's exact materialized pane view, if present in the same snapshot. It never queries tmux.
- AttachedSession method AttachedSession returns the materialized attached session, if present in the same snapshot. It never queries tmux.
- AttachedWindow method AttachedWindow returns the client's exact materialized winlink, if present in the same snapshot. It never queries tmux.
- CellHeight method CellHeight returns tmux #{client_cell_height} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- CellWidth method CellWidth returns tmux #{client_cell_width} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ControlMode method ControlMode returns tmux #{client_control_mode} as bool from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Created method Created returns tmux #{client_created} as time.Time from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Discarded method Discarded returns tmux #{client_discarded} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Equal method Equal reports whether two clients carry the same stable client name and tmux server provenance.
- Flags method Flags returns tmux #{client_flags} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Formats method Formats returns this Client's read-only materialized tmux format values. It does not query tmux; use
Server.Snapshotto obtain a fresh record. - Height method Height returns tmux #{client_height} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- KeyTable method KeyTable returns tmux #{client_key_table} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- LastSession method LastSession returns tmux #{client_last_session} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ModeFormat method ModeFormat returns tmux #{client_mode_format} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Name method Name returns the stable tmux name of this client.
- Prefix method Prefix returns tmux #{client_prefix} as bool from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ProcessPID method ProcessPID returns tmux #{client_pid} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ProcessUID method ProcessUID returns tmux #{client_uid} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ProcessUser method ProcessUser returns tmux #{client_user} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- ReadOnly method ReadOnly returns tmux #{client_readonly} as bool from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Refresh method Refresh performs a canonical live lookup without mutating the receiver.
- ResolveAttachment method ResolveAttachment re-reads the client's live attached hierarchy.
- Server method Server returns the configured handle that produced the client.
- Session method Session returns tmux #{client_session} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- String method String returns the client's stable name.
- TermFeatures method TermFeatures returns tmux #{client_termfeatures} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- TermName method TermName returns tmux #{client_termname} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- TermType method TermType returns tmux #{client_termtype} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- TTY method TTY returns tmux #{client_tty} as string from this Client's materialized client-scoped fields (tmux 3.2a or later).
- UTF8 method UTF8 returns tmux #{client_utf8} as bool from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Width method Width returns tmux #{client_width} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).
- Written method Written returns tmux #{client_written} as int from this Client's materialized client-scoped fields (tmux 3.2a or later).