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.

struct libtmux-go latest

SubscriptionChange

SubscriptionChange is one evaluated format value reported by a subscription armed with NotificationStream.Subscribe. The scope fields tmux did not evaluate against are zero: a session-scoped subscription reports no window or pane, and a window-scoped one reports no pane.

Source and package
Qualified name
tmux.SubscriptionChange
Package
tmux
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_notification.go
struct tmux.SubscriptionChange

Fields6#

SubscriptionChange fields
NameTypeDescription
Name string Name is the subscription name given when it was armed.
Pane PaneID Pane is the pane the value was evaluated for, when scoped to one.
Session SessionID Session is the session the value was evaluated for.
Value string Value is the format expanded by tmux.
Window WindowID Window is the window the value was evaluated for, when scoped to one.
WindowIndex int WindowIndex is Window's index in Session. It means nothing when Window is zero.
Esc

Type to search.

Reference previewOpen reference