Window.split
Splits this window's active pane in half, putting the new one below it.
Source and package
- Qualified name
-
io.github .libtmux .kotlin .Window. split - Package
- io.github.libtmux.kotlin
- Declared in
Window- Distribution
- io.github.libtmux:libtmux-kotlin
- Source
- libtmux-kotlin/build/generated/sources/operations/kotlin/io/github/libtmux/kotlin/WindowOperations.kt
- public
Kotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. fun Window.split(): PanepublicKotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself. fun Window.split(spec: SplitSpec ): Pane
Recorded calls
source callsThe Kotlin 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 io.github.libtmux.kotlin.Window.split.
tmux command
task materialThe tmux commands behind split.
tmux C API
task materialThe C declarations in tmux that implement these commands.
Each path starts at a function a command runs, which is degree 1. The degree counts steps from there along the path, and each step is a call or a reference: degree 2 is reached from that function, degree 3 from the next, and so on.
Split a window
- 1
cmd_split_window_exec - references → 2
spawn_pane - calls → 3
window_add_pane - calls → 4
window_pane_create
In other ports
task equivalence 10 other ports mappedSource-verified mappings for Split a window's active pane. 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 Kotlin |
|---|---|---|
| Kotlin | io Splits this window's active pane in half, putting the new one below it. | This page |
| Python | libtmux Split window on active pane and return the created Pane. | None recorded in the model |
| Ruby | Lib Behavior: Creation. | None recorded in the model |
| TypeScript | window Split this window and resolve the created pane. | None recorded in the model |
| Rust | window Split this window and return the new pane. | None recorded in the model |
| Go | tmux SplitPane creates a tiled pane in the receiver's exact winlink. Attach makes the new pane active in that session and winlink; it is not a global client-focus guarantee. The returned Pane is freshly materialized in the receiver SessionID and WindowID rather than by canonical ID-only refresh. Pane.Split is the equivalent operation relative to an existing pane rather than its window. | None recorded in the model |
| Java | io Splits this window's active pane in half, putting the new one below it. | 3 overloads |
| Scala | io Splits this window's active pane in half, putting the new one below it. | 3 overloads |
| C# | Lib Splits a pane in this window. | None recorded in the model |
| C++ | libtmux:: | readonly |
| Swift | Server Splits a window's active pane, returning the pane that appeared. | on Server |
No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
No direct public OCaml equivalent is recorded for this operation.
No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.
No direct Raku mapping is recorded for this operation; consult the native API reference.
No equivalent is recorded in Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure or F#.