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-scala

Pane.split

Splits this pane in half, putting the new one below it.

Source and package
Qualified name
io.github.libtmux.scaladsl.Pane.split
Package
io.github.libtmux.scaladsl
Declared in
Pane
Distribution
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala/build/generated/sources/catalog/scala/operations/GeneratedOperations.scala
Scala extension methodsAdds methods callable on the receiver type without changing its definition.Language documentation (self: Pane) Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation split(): PaneScala extension methodsAdds methods callable on the receiver type without changing its definition.Language documentation (self: Pane) Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation split( configure: io.github.libtmux.SplitSpec.Builder => Unit ): PaneScala extension methodsAdds methods callable on the receiver type without changing its definition.Language documentation (self: Pane) Scala method declarationsDeclares a method, with its name, parameter lists and return type.Language documentation split(spec: io.github.libtmux.SplitSpec): Pane
Parameters

Recorded calls

source calls
No call edges in the Scala model.

The Scala 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.scaladsl.Pane.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 15 other ports mapped

Source-verified mappings for Split a pane in two. A mapping says these APIs perform the same task. It does not say they share defaults, errors or completion: check each page.

Split a pane in two in each port
PortAPIDiffers from Scala
Scala io.github.libtmux.scaladsl.Pane.split
Splits this pane in half, putting the new one below it.
This page
Python libtmux.Pane.split
Split window and return Pane, by default beneath current pane.
None recorded in the model
Ruby LibTmux::Pane#split
Behavior: Creation.
None recorded in the model
Lua libtmux.Pane:split None recorded in the model
Erlang tmux_pane:split/2
Split a pane, or the supplied window's active pane, and observe the new pane. Defaults to a detached vertical split. Options and launch semantics are described in the module docs. Performs I/O; a post-creation read error retains the completed mutation rather than pretending that no pane was created.
free function
TypeScript pane.Pane.split
Split this pane and resolve the created pane.
None recorded in the model
Rust pane.Pane.split
Split this pane, putting a new one beside it.
async
Go tmux.Pane.Split
Split creates a tiled pane relative to the receiver's exact linked-pane view. 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. Named Split rather than SplitPane to avoid repeating Pane; Window.SplitPane is the equivalent operation relative to a window.
None recorded in the model
Java io.github.libtmux.Pane.split
Splits this pane in half, putting the new one below it.
None recorded in the model
Clojure libtmux.core/split-pane!
Splits a Pane ref and returns a fresh captured pane occurrence.
free function
Kotlin io.github.libtmux.kotlin.Pane.split
Splits this pane in half, putting the new one below it.
async
C# LibTmux.Pane.SplitAsync
Splits this pane.
async
Swift Server.split(_:direction:size:startDirectory:environment:shell:)
Splits one pane, returning the pane that appeared.
asyncon Server
OCaml Libtmux_unix.Client.split_pane
Create a detached pane beside the target and return the IDs reported by tmux. Omitted size lets tmux choose the split; tmux rejects splits when no space remains.
free function
Perl LibTmux::Server::split_pane
split_pane(pane => Pane|pane_id, horizontal => boolean?, command => arrayref?, cwd => bytes?, environment => hashref?).
on Server
Explicit Server operation. Captured entities remain local observations; use a new snapshot to observe changes.
Raku LibTmux::Model::PaneRef.split
Create a detached split by default, returning the reported pane ID.
on PaneRef
No Haskell equivalent.

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

No C++ equivalent.

no direct pane target; Window.split splits the active pane

No equivalent is recorded in PowerShell, Julia, Elixir, Common Lisp or F#.

Esc
Search in

Type to search.

Reference previewOpen reference