# libtmux.Pane:break_out

- **Module:** libtmux
- **Package:** libtmux
- **Language:** Lua
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-lua/blob/d68f829fe097e38dcbbf7147e276666fe615f0cf/lua/libtmux/_internal/entity.lua#L511
- **Page:** https://libtmux.org/en/lua/v0.1.1/reference/libtmux-pane-break_out/

```
break_out: fun(
  self: libtmux.Pane,
  source_link: libtmux.WindowLink,
  destination: libtmux.LinkDestination,
  options?: libtmux.BreakPaneOptions,
):libtmux.Request<boolean>
```

## Parameters

- `source_link` (`libtmux.WindowLink`):  One placement of a window in a session: a window can be linked into several.
- `destination` (`libtmux.LinkDestination`)
- `options` (`libtmux.BreakPaneOptions?`)

## tmux command

The tmux commands behind `break_out`.

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

## tmux C API

The C declarations in tmux that implement these commands.

- [`cmd_break_pane_entry`](/en/tmux/latest/reference/c-variable-cmd_break_pane_entry/) (attribute)
- [`cmd_break_pane_exec`](/en/tmux/latest/reference/c-function-cmd-break-pane-c-cmd_break_pane_exec/) (function)

## Guides

Pages that discuss `break_out`.

- [Execute tmux commands](/en/lua/v0.1.1/guides/commands/)
- [Compatibility targets](/en/lua/v0.1.1/guides/compatibility/)
- [Topology operations](/en/lua/v0.1.1/guides/topology/)

## In other ports

Move a pane out into a window of its own

| Language | Equivalent |
| --- | --- |
| Python | [`libtmux.Pane.break_pane`](/en/py/latest/reference/libtmux-pane-break_pane/) (method) |
| Ruby | [`LibTmux::Pane#break_out`](/en/ruby/latest/reference/libtmux-pane-break_out/) (method) |
| TypeScript | [`pane.Pane.breakOut`](/en/ts/latest/reference/pane-pane-breakout/) (method) |
| Rust | [`pane.Pane.break_out`](/en/rs/latest/reference/pane-pane-break_out/) (method) |
| Go | [`tmux.Pane.BreakPane`](/en/go/latest/reference/tmux-pane-breakpane/) (method) |
| Java | [`io.github.libtmux.Pane.breakOut`](/en/java/latest/reference/io-github-libtmux-pane-pane-breakout/) (method) |
| C# | [`LibTmux.Pane.BreakAsync`](/en/csharp/latest/reference/libtmux-pane-breakasync/) (method) |
| C++ | [`libtmux::Pane::break_out`](/en/cxx/latest/reference/libtmux-pane-break_out/) (method) |
| Swift | [`Server.breakPane(_:from:named:)`](/en/swift/latest/reference/server-breakpane(_-from-named-)/) (method) |

No equivalent is recorded in PowerShell, Julia, Elixir, Kotlin, Scala or F#.
