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

PaneObservation.NextNotification

NextNotification returns the next notification strictly after the pane baseline, from the whole connection rather than this pane alone. Notifications queued before that boundary are discarded. Concurrent calls are serialized. Caller context errors and ControlNotificationError affect only one call. Explicit close returns an error matching ErrControlClosed and os.ErrClosed.

Source and package
Qualified name
tmux.PaneObservation.NextNotification
Package
tmux
Declared in
PaneObservation
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_observation.go

Description#

Topology loss, natural stream EOF, and terminal reader errors return ErrPaneObservationLost. Stream failures preserve their cause. Later calls return that loss without consuming more notifications.

Parameters
Esc

Type to search.

Reference previewOpen reference