class libtmux-dotnet latest
PaneObservation
Narrows a control client's event stream to some panes, and ends it cleanly.
Source and package
- Module
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/ControlMode/PaneObservation.cs
-
Description#
A killed pane's session and window usually survive it, so the general event stream just keeps running - the closest thing tmux sends is a
%layout-changefor the window the pane left. Watching panes through this instead answers "is the pane I care about still there" as a typed, terminal event rather than leaving a caller to infer it from a notification shaped like any other.
Members1 member#
Other members1 member#
- WatchAsync method Watches one pane's output until it ends.