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.Subscription Change - Package
- tmux
- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_notification.go
Fields6#
| Name | Type | Description |
|---|---|---|
| Name | string | Name is the subscription name given when it was armed. |
| Pane | Pane | Pane is the pane the value was evaluated for, when scoped to one. |
| Session | Session | Session is the session the value was evaluated for. |
| Value | string | Value is the format expanded by tmux. |
| Window | Window | 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. |