PsmuxPane.CaptureAsync
Reads this pane's text through the audited capture subset.
Source and package
- Module
- LibTmux
- Declared in
- PsmuxPane
- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxPane.cs
- CaptureAsync ( options : Psmux
Capture ? , cancellationToken : CancellationOptions Token ) Task<IReadOnly <string>>List -
Description#
Target consistency is best effort. An external process can remove the pane between LibTmux's existence preflight and psmux's capture.
- Parameters
-
-
options ( Psmux
Capture ? ) – The typed capture range and rendering choices.Options -
cancellationToken ( Cancellation
Token ) – Cancels the psmux query.
-
- Returns
-
The captured lines.
- Raises
-
-
Invalid
Operation – The selected namespace has no live session.Exception -
Stale
Server – The sole session was replaced after this observation was read.Generation Exception -
Not
Supported – The selected namespace contains more than one session.Exception -
Tmux
Object – The observed pane is no longer visible during the preflight.Not Found Exception -
Lib
Tmux – The verified client could not complete the query.Exception
-