# LibTmux.Pane.BreakAsync

- **Module:** LibTmux.Pane
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Pane.Topology.cs#L157
- **Page:** https://libtmux.org/reference/dotnet/libtmux-pane-breakasync/

```
LibTmux.Pane.BreakAsync(windowName: string?, detach: bool, cancellationToken: CancellationToken) -> Task<Window>
```

Moves this pane out into a window of its own.

## Parameters

- `windowName` (string?) — The new window's name.
- `detach` (bool) — Whether the new window is left unselected.
- `cancellationToken` (CancellationToken) — Cancels the tmux commands.

## Returns

The window the pane now lives in.
