# types.CaptureOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/46cccfef2a546de55ce8b308249b8c76339089a0/packages/libtmux/src/types.ts#L380
- **Page:** https://libtmux.org/en/ts/latest/reference/types-captureoptions/

Which part of a pane is read, and in what form.

A capture reads what the pane is showing, not what the program in it
intended: a redrawn screen and a scrolled-off line are both gone.

## Members

### Other members

- [`alternateScreen`](/en/ts/latest/reference/types-captureoptions-alternatescreen/) (property): Capture the screen saved underneath a full-screen program, tmux's `-a`.
- [`end`](/en/ts/latest/reference/types-captureoptions-end/) (property): Last line to capture; negative counts back from the visible bottom.
- [`escapeSequences`](/en/ts/latest/reference/types-captureoptions-escapesequences/) (property): Keep the escape sequences that colour and style the text, tmux's `-e`.
- [`joinWrapped`](/en/ts/latest/reference/types-captureoptions-joinwrapped/) (property): Join wrapped lines, matching tmux's `-J`.
- [`start`](/en/ts/latest/reference/types-captureoptions-start/) (property): First line to capture; negative reaches into scrollback history.
