CaptureOptions.pending_escape
Capture the escape sequence the pane has begun but not finished.
Source and package
- Qualified name
-
libtmux::pane:: Capture Options:: pending _escape - Module
- pane
- Declared in
CaptureOptions- Package
- libtmux
- Source
- crates/libtmux/src/pane.rs
-
Description#
tmux's
-P, and narrower than it sounds: the answer is only the bytes of an escape sequence that arrived incomplete, not output waiting to be drawn. A pane in the middle of nothing answers with nothing. It diagnoses a program that stopped mid-sequence; it is not a way to read output early.Examples#
use libtmux::CaptureOptions;let partial = CaptureOptions::visible().pending_escape();assert_ne!(partial, CaptureOptions::visible());