# libtmux::CaptureOptions

- **Module:** libtmux
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/393d4b0ad666f18a6581f1eb281741a75a7503f0/include/libtmux/entities.hpp#L155
- **Page:** https://libtmux.org/en/cxx/latest/reference/libtmux-captureoptions/

Which part of a pane's screen and scrollback a capture reads.

A capture reads what the pane is showing, so a line the program redrew is the redrawn one and a line scrolled past the history limit is gone.

## Members

- `start_line` (attribute): Where to start, counting back into the scrollback.
- `end_line` (attribute)
- `whole_history` (attribute): Everything tmux still remembers, which is what a caller reading history usually means.
- `join_wrapped` (attribute): Join a line tmux wrapped back into the one line it was.
- `with_escape_sequences` (attribute): Keep the escape sequences rather than the text they produced.
- `keep_trailing_spaces` (attribute): Keep the spaces at the end of a line, which tmux otherwise trims.
- `output_limit` (attribute): How much of the answer this call is prepared to hold.
