# tmux.Pane.FindWindow

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

```
tmux.Pane.FindWindow(ctx: context.Context, request: FindWindowRequest) -> error
```

FindWindow opens a tree chooser filtered by Match using the receiver's exact linked target. It requires an attached client. Match is passed as one tmux search operand and protected from leading-dash option parsing; it is not a tmux format or shell command. Only stderr produces a redacted [CommandError]; transport errors may leave the chooser open.
