# LibTmux::Model::ClientRef.find-window

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/0b5dd3d32e20f83a0069874e33eab0eb48f55962/lib/LibTmux/Client.rakumod#L269
- **Inherited from:** LibTmux::Client::ClientTarget
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-clientref-find-window/

```
method find-window(Str:D $pattern, PaneId:D :$pane!, Bool:D :$content = True,
                       Bool:D :$names = True, Bool:D :$titles = True,
                       Bool:D :$regex = False, Bool:D :$ignore-case = False,
                       Bool:D :$zoom = False, *%operation --> Result:D)
```

Open the native finder using tmux match/FORMAT syntax, not literal substring data.

Open the native finder using tmux match/FORMAT syntax, not literal substring data.

## Parameters

- `$pattern` (`Str:D`)
- `$pane` (`PaneId:D`)
- `$content?` (`Bool:D`)
- `$names?` (`Bool:D`)
- `$titles?` (`Bool:D`)
- `$regex?` (`Bool:D`)
- `$ignore-case?` (`Bool:D`)
- `$zoom?` (`Bool:D`)
- `%operation`

## tmux command

The tmux commands behind `find-window`.

- [`find-window`](/en/tmux/latest/manual/find-window/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_find_window_entry`](/en/tmux/latest/reference/c-variable-cmd_find_window_entry/) (attribute)
- [`cmd_find_window_exec`](/en/tmux/latest/reference/c-function-cmd-find-window-c-cmd_find_window_exec/) (function)

## In other ports

Search windows interactively from a pane

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.find_window`](/en/py/latest/reference/libtmux-pane-find_window/) (method) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`pane.Pane.findWindow`](/en/ts/latest/reference/pane-pane-findwindow/) (method) |
| Rust | no equivalent on `Pane` |
| Go | [`tmux.Pane.FindWindow`](/en/go/latest/reference/tmux-pane-findwindow/) (method) |
| Java | no equivalent on `Pane` |
| C# | [`LibTmux.Pane.FindWindowAsync`](/en/csharp/latest/reference/libtmux-pane-findwindowasync/) (method) |
| C++ | no equivalent on `Pane` |
| Swift | no equivalent on `Pane` |
| OCaml | No direct public OCaml equivalent is recorded for this operation. |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.
