# libtmux::Pane::break_out

- **Module:** libtmux::Pane
- **Package:** libtmux-cxx
- **Language:** C++
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-cxx/blob/85e8bd603a322dc32bb8b9aeb1a72bcf36945f1d/include/libtmux/entities.hpp#L643
- **Page:** https://libtmux.org/reference/cxx/libtmux-pane-break_out/

```
libtmux::Pane::break_out(name: std::string_view = {}) -> expected< Window, CommandFailure >
```

Take this pane out into a window of its own, which is returned.

If it is already the window's only pane, return that window without moving it. An empty name leaves tmux to name the window after what is running.
