# plan.ops.panes.CapturePane

- **Module:** plan.ops.panes
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/plan/ops/panes.rs#L418
- **Page:** https://libtmux.org/en/rs/latest/reference/plan-ops-panes-capturepane/

Read a pane's contents.

Deliberately not [`Chainable`]: its stdout is the answer, and a folded run
returns one merged stdout with no per-command boundary, so folding it would
mix its lines with its neighbours'.

## Members

- `new` (method): Capture this pane.
- `escape_sequences` (method): Keep the escape sequences rather than the plain text.
