Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

pane.CaptureOptions.pending_escape

Rust
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
pane
Declared in
CaptureOptions
Package
libtmux
Source
crates/libtmux/src/pane.rs
pending_escape ( mut ) → Self
method [source]
method [source]
pending_escape

Capture the escape sequence the pane has begun but not finished.

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());

0 declared, 0 inherited

Esc

Type to search.