Pane.BreakAsync
Moves this pane out into a window of its own.
Source and package
- Qualified name
-
LibTmux .Pane. Break Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Topology.cs
- async Task<Window> BreakAsync( string? window
Name = null, bool detach = true, CancellationToken cancellationToken = default ) -
- Parameters
-
-
windowName(string?) – The new window's name.Default
null -
detach(bool) – Whether the new window is left unselected.Default
true -
cancellationToken(CancellationToken ) – Cancels the tmux commands.Default
default
-
- Returns
-
The window the pane now lives in.
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Pane.BreakAsync.
tmux command
task materialThe tmux commands behind BreakAsync.
break-pane display-message (break-pane prints no window ID) rename-window tmux C API
task materialThe C declarations in tmux that implement these commands.
In other ports
task equivalence 12 other ports mappedSource-verified mappings for Move a pane out into a window of its own. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.
| Port | API | Differs from C# |
|---|---|---|
| C# | Lib Moves this pane out into a window of its own. | This page |
| Python | libtmux Break this pane out into a new window via $ tmux break-pane. | None recorded in the model |
| Ruby | Lib Exact tmux 3.7 ignores -n on break-pane and crashes without it, so the
name is applied again afterwards. Before 3.6 a sole pane's break prints
no ID, so the window is read back from the pane. | None recorded in the model |
| Lua | libtmux | None recorded in the model |
| Erlang | tmux Break a physical pane through its explicit source membership into a destination session/index. Source, link and session must have the same registered owner. The source link's expected window and the pane's observed parent are checked before dispatch. The source selector also includes the stable pane ID, never its positional index. Preflight and action are not atomic. | free function |
| TypeScript | pane Move this pane out into a window of its own, in the session it is in. | None recorded in the model |
| Rust | pane Move this pane out into a window of its own. | None recorded in the model |
| Go | tmux BreakPane moves the receiver into a new window in its exact session. Attach lets that new winlink become current in the session; it is not a global client-focus guarantee. The returned Window is freshly materialized in the receiver SessionID rather than by canonical ID-only refresh. | None recorded in the model |
| Java | io Moves this pane into a window of its own, leaving tmux to name it. | 2 overloads |
| C++ | libtmux:: Take this pane out into a window of its own, which is returned. | readonly |
| Swift | Server Moves a pane out into a window of its own, and returns its appearance. | on Server |
| OCaml | Libtmux Move the pane into a new window at an explicit session index. An occupied destination fails. The returned IDs describe the resulting context; the pane itself already existed. | free function |
| Raku | Lib Move this pane to a new window in an explicit session, returning the reported window ID. | on PaneRef |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
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#.