# LibTmux.Pane.BreakAsync

- **Module:** LibTmux.Pane
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Pane.Topology.cs#L153
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
