# tmux_program:capture/0

- **Package:** libtmux_erlang
- **Language:** Erlang
- **Kind:** typealias
- **Source:** https://github.com/libtmux/libtmux-erlang/blob/38478dff54579a4f408005d0265031abdf3a880a/apps/libtmux_erlang/src/tmux_program.erl#L34
- **Page:** https://libtmux.org/en/erlang/latest/reference/t-tmux_program-capture-0/

```
-type capture() ::
          #{exit := tmux_pane:exit(),
            screen := binary(),
            encoding := terminal_bytes,
            history := history(),
            pending_bytes := non_neg_integer(),
            cleanup := complete}.
```

The verified application exit, rendered terminal bytes and cleanup receipt.
