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

View as Markdown

Module
libtmux
Declared in
Pane
Package
libtmux-cxx
Source
include/libtmux/entities.hpp
Other languages
PythonRubyLuaTypeScriptRustGoJava.NETSwift
methodreadonlyoverload2 overloads [source]
methodreadonlyoverload2 overloads [source]
capture

The visible contents, as tmux printed them.

capture_lines frames it into lines, and takes a named string: the lines are views into it, so framing this return value directly is a compile error rather than a dangling read.

A pane's scrollback can be far larger than the default bound, and a capture that does not fit is reported rather than cut, so a caller reading history passes the size it is prepared to hold.

Discussed in Capture pane output · Capturing output

In other ports Read a pane’s visible contents

0 declared, 0 inherited

Esc

Type to search.