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