# types.CaptureOptions

- **Module:** types
- **Package:** libtmux
- **Language:** TypeScript
- **Kind:** interface
- **Source:** https://github.com/libtmux/libtmux-ts/blob/3fe1ca654b81b8cbf4a13b777a001a3298c87a6f/packages/libtmux/src/types.ts#L332
- **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

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