# LibTmux::Model::PaneRef.join

- **Module:** LibTmux::Model
- **Package:** LibTmux
- **Language:** Raku
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-raku/blob/e76160bcce6e03976d49424da15b7c31afb2c68e/lib/LibTmux/Model.rakumod#L354
- **Page:** https://libtmux.org/en/raku/latest/reference/libtmux-model-paneref-join/

```
method join(PaneRef:D $target, Bool :$horizontal = False, Bool :$before = False,
                Bool :$full = False, Bool :$select = False,
                :$size = Positive, :$percent = Positive --> Result:D)
```

Move this pane into the target's split tree; its scoped ID remains unchanged.

Move this pane into the target's split tree; its scoped ID remains unchanged.

## Parameters

- `$target` (`PaneRef:D`)
- `$horizontal?` (`Bool`)
- `$before?` (`Bool`)
- `$full?` (`Bool`)
- `$select?` (`Bool`)
- `$size?`
- `$percent?`

## tmux command

The tmux commands behind `join`.

- [`join-pane`](/en/tmux/latest/manual/join-pane/)

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_join_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_join_pane_entry/) (attribute)
- [`cmd_join_pane_exec`](/en/tmux/latest/reference/c-function-cmd-join-pane-c-cmd_join_pane_exec/) (function)

## In other ports

Move a pane into another window

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.join`](/en/py/latest/reference/libtmux-pane-join/) (method) |
| Ruby | [`LibTmux::Pane#join`](/en/ruby/latest/reference/libtmux-pane-join/) (method) |
| Erlang | [`tmux_pane:join/3`](/en/erlang/latest/reference/tmux_pane-join-3/) (function) |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | [`pane.Pane.joinTo`](/en/ts/latest/reference/pane-pane-jointo/) (method) |
| Rust | no equivalent on `Pane` |
| Go | [`tmux.Pane.Join`](/en/go/latest/reference/tmux-pane-join/) (method) |
| Java | [`io.github.libtmux.Pane.joinTo`](/en/java/latest/reference/io-github-libtmux-pane-pane-jointo/) (method) |
| C# | [`LibTmux.Pane.JoinAsync`](/en/csharp/latest/reference/libtmux-pane-joinasync/) (method) |
| C++ | [`libtmux::Pane::join`](/en/cxx/latest/reference/libtmux-pane-join/) (method) |
| Swift | [`Server.join(_:into:direction:size:)`](/en/swift/latest/reference/server-join(_-into-direction-size-)/) (method) |
| OCaml | [`Libtmux_unix.Client.move_pane`](/en/ocaml/latest/reference/libtmux_unix-client-move_pane/) (function) |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |

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