# tmux.CapturePaneRequest

- **Module:** tmux
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/pane_capture.go#L70
- **Page:** https://libtmux.org/reference/go/tmux-capturepanerequest/

CapturePaneRequest configures pane capture. Its zero value captures the visible screen with tmux's default text handling. Version-gated flags follow [UnsupportedPolicy]. [CaptureBoundary] selects the start of history for Start and the end of the visible pane for End.

## Members

- `Start` (attribute) — Start selects the first captured line. Empty uses tmux's visible-screen default; CaptureBoundary selects the start of history.
- `End` (attribute) — End selects the last captured line. Empty uses tmux's visible-screen default; CaptureBoundary selects the end of the visible pane.
- `EscapeSequences` (attribute) — EscapeSequences includes terminal attribute escape sequences.
- `EscapeNonPrintable` (attribute) — EscapeNonPrintable renders non-printable characters as octal escapes.
- `JoinWrapped` (attribute) — JoinWrapped joins wrapped lines, preserves their trailing spaces, and implies tmux trimming independently of TrimTrailing.
- `PreserveTrailing` (attribute) — PreserveTrailing preserves trailing spaces at each line end.
- `TrimTrailing` (attribute) — TrimTrailing omits trailing positions without characters. It requires tmux 3.4; see UnsupportedPolicy.
- `AlternateScreen` (attribute) — AlternateScreen captures the alternate screen without history.
- `Quiet` (attribute) — Quiet suppresses tmux's error when AlternateScreen is requested but no alternate screen exists.
- `ModeScreen` (attribute) — ModeScreen captures the active mode screen. It requires tmux 3.6; see UnsupportedPolicy.
- `Pending` (attribute) — Pending captures only the beginning of an incomplete escape sequence.
- `Hyperlinks` (attribute) — Hyperlinks captures hyperlink metadata for the selected lines. It requires tmux 3.7; see UnsupportedPolicy.
- `LineNumbers` (attribute) — LineNumbers prefixes each line with its tmux line number. It requires tmux 3.7; see UnsupportedPolicy.
- `LineFlags` (attribute) — LineFlags prefixes each line with tmux line metadata flags. It requires tmux 3.7; see UnsupportedPolicy.
