# LibTmux.capture_baseline

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** Julia
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-julia/blob/f3da513be1225d36d5854cd8db5972c01857578e/src/control_io.jl#L198
- **Page:** https://libtmux.org/en/julia/latest/reference/libtmux-capture_baseline/

```
capture_baseline(stream::LibTmux.ObservationStream; kwargs...)
```

## Methods

Capture the output stream's pane through its existing control connection. Returns an `ObservationBaseline` with an explicit reset boundary. Buffered events remain untouched, and `observation_cursor(stream)` still denotes the last consumed event. Capture options and cancellation match `capture_bytes`. A closed, overflowed or topology-invalidated stream requires a new stream.

```julia
capture_baseline(stream::ObservationStream; kwargs...)
```

## Parameters

- `stream` (`LibTmux.ObservationStream`)
- `kwargs`
