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

View as Markdown

Module
pane
Declared in
Pane
Package
libtmux
Source
crates/libtmux/src/pane/observe.rs
Other languages
PythonTypeScriptGoJava.NETC++Swift
capture ( self ) → Result<Vec<TmuxText>, Error>
method [source]
method [source]
capture

Capture the pane's visible contents, one entry per line.

Lines are TmuxText because a terminal's contents are arbitrary bytes, not guaranteed UTF-8.

Errors

Returns an error when tmux refuses the command.

In other ports Read a pane’s visible contents

0 declared, 0 inherited

Esc

Type to search.