# tmux.Window.ResolveActivePane

- **Module:** tmux.Window
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/relations.go#L156
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-window-resolveactivepane/

```
tmux.Window.ResolveActivePane(ctx: context.Context) -> (Pane, error)
```

ResolveActivePane returns the active pane in this exact winlink view, read live. It lists that window's panes rather than taking a whole-server snapshot. It returns [SnapshotLookupError] cardinality errors, which match [ErrNotFound] when nothing was found.
