Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

method libtmux-kotlin

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.Language documentation fun Window.split(): Panepublic Kotlin suspending functionsAllows a function to call suspending operations and pause without blocking a thread. It does not start a coroutine by itself.Language documentation fun Window.split(spec: SplitSpec): Pane
Parameters

Recorded calls

source calls
No call edges in the Kotlin model.

The 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 material

The tmux commands behind split.

tmux C API

task material

The 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. 1 cmd_split_window_exec
  2. references → 2 spawn_pane
  3. calls → 3 window_add_pane
  4. calls → 4 window_pane_create

In other ports

task equivalence 10 other ports mapped

Source-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.

Split a window's active pane in each port
PortAPIDiffers from Kotlin
Kotlin io.github.libtmux.kotlin.Window.split
Splits this window's active pane in half, putting the new one below it.
This page
Python libtmux.Window.split
Split window on active pane and return the created Pane.
None recorded in the model
Ruby LibTmux::Window#split
Behavior: Creation.
None recorded in the model
TypeScript window.Window.split
Split this window and resolve the created pane.
None recorded in the model
Rust window.Window.split
Split this window and return the new pane.
None recorded in the model
Go tmux.Window.SplitPane
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.github.libtmux.Window.split
Splits this window's active pane in half, putting the new one below it.
3 overloads
Scala io.github.libtmux.scaladsl.Window.split
Splits this window's active pane in half, putting the new one below it.
3 overloads
C# LibTmux.Window.SplitPaneAsync
Splits a pane in this window.
None recorded in the model
C++ libtmux::Window::split readonly
Swift Server.splitWindow(_:direction:size:startDirectory:environment:shell:)
Splits a window's active pane, returning the pane that appeared.
on Server
No Haskell equivalent.

No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.

No OCaml equivalent.

No direct public OCaml equivalent is recorded for this operation.

No Perl equivalent.

No dedicated equivalent in the selected Perl surface. Explicit Server::cmd remains available for native tmux commands.

No Raku equivalent.

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#.

Esc
Search in

Type to search.

Reference previewOpen reference