NotificationStream.Subscribe
Subscribe asks tmux to evaluate request's format and report it on this stream as a subscription-changed notification, read with ControlNotification.Subscription. tmux reports the value at its next evaluation, about a second later, and then each time it changes. Arming a name already armed replaces its format.
Source and package
- Qualified name
-
tmux.Notification Stream. Subscribe - Package
- tmux
- Declared in
NotificationStream- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/notification_stream.go
- func (s *Notification
Stream ) Subscribe( ctx context.Context , request SubscriptionRequest , ) error -
- Parameters
tmux command#
The tmux commands behind Subscribe.
tmux C API#
The C declarations in tmux that implement these commands.