Pane.break_out
Take this pane out into a window of its own, which is returned.
Source and package
- Qualified name
-
libtmux::Pane:: break _out - Namespace
- libtmux
- Declared in
Pane- Package
- libtmux-cxx
- Source
- include/libtmux/entities.hpp
- Other languages
- Perl Erlang PowerShell Julia Elixir Haskell Common Lisp PythonRubyLuaTypeScriptRustGoJavaC#Swift Kotlin Scala OCaml F# Clojure
- [[
C++ nodiscard attributeAsks the compiler to warn when a result is discarded. An explicit cast to void acknowledges that the result is intentionally ignored.]] expected<Window, CommandFailure > break_out(std::string name = {}) const;_view -
Description#
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.
- Parameters
tmux command#
The tmux commands behind break_out.
break-pane (the window has several panes) display-message (the window has one pane) if-shell rename-window (named, and the window has one pane) tmux C API#
The C declarations in tmux that implement these commands.
In other ports#
Move a pane out into a window of its own
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Ruby | Lib |
| Lua | libtmux |
| Erlang | tmux |
| Haskell | No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing. |
| TypeScript | pane |
| Rust | pane |
| Go | tmux |
| Java | io |
| C# | Lib |
| Swift | Server |
| OCaml | Libtmux |
| Perl | No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands. |
No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.