# tmux.Pane.OpenObservation

- **Module:** tmux.Pane
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/5f808882015a975a65acc7f9da5b3ff0d5cbdc91/tmux/control_observation.go#L202
- **Page:** https://libtmux.org/reference/go/tmux-pane-openobservation/

```
tmux.Pane.OpenObservation(ctx: context.Context) -> (*PaneObservation, error)
```

OpenObservation captures the pane's visible text and returns an owned observation whose notifications begin at the capture's exact control-wire boundary. It resolves the pane's exact linked session before opening a dedicated control client. The caller must close the result.
