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.

MoreLess about this notice

class libtmux-dotnet

PaneObservation

Narrows a control client's event stream to some panes, and ends it cleanly.

Source and package
Qualified name
LibTmux.PaneObservation
Namespace
LibTmux
Package
LibTmux
Source
src/LibTmux/ControlMode/PaneObservation.cs
class LibTmux.PaneObservation

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-change for 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 members

  • WatchAsync Watches one pane's output until it ends.
Esc
Search in

Type to search.

Reference previewOpen reference