PaneRef.break
Move this pane to a new window in an explicit session, returning the reported window ID.
Source and package
- method break(Session
Ref: $session, :$index = Count, Str :$name, WindowD Link :$from, Bool :$select = False --> WindowRef Ref: )D -
Description#
Move this pane to a new window in an explicit session, returning the reported window ID.
tmux command#
The tmux commands behind break.
break-pane list-panes -a server scope, cmd_list_panes_server list-windows -a server scope, cmd_list_windows_exec 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 |
| C++ | libtmux:: |
| 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#.