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.

Go API

method libtmux-go latest

Pane.CaptureToBuffer

CaptureToBuffer captures content from the receiver's exact linked pane into the nonempty named tmux buffer. The buffer is owned by tmux and no printed output is returned. Completed stderr becomes a CommandError; a nonzero exit with empty stderr is not an error.

Source and package
Qualified name
tmux.Pane.CaptureToBuffer
Package
tmux
Declared in
Pane
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/pane_capture.go

Description#

Invalid requests fail before execution. Transport and context errors are delivery-ambiguous: the buffer may already have changed.

tmux command#

The tmux commands behind CaptureToBuffer.

tmux C API#

The C declarations in tmux that implement these commands.

Esc

Type to search.

Reference previewOpen reference