# 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/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/control_observation.go#L290
- **Page:** https://libtmux.org/en/go/latest/reference/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.
