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.

struct libtmux-rs latest

CapturePane

Read a pane's contents.

Source and package
Qualified name
libtmux::plan::ops::panes::CapturePane
Module
plan.ops.panes
Package
libtmux
Source
crates/libtmux/src/plan/ops/panes.rs
struct plan.ops.panes.CapturePane

Description#

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'.

Members2#

  • escape_sequences method Keep the escape sequences rather than the plain text.
  • new method Capture this pane.
Esc

Type to search.

Reference previewOpen reference