Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

Swift API

Swift documentation

Server.split(_:direction:size:startDirectory:)

View as Markdown

Declared in
Server
Package
libtmux-swift
Source
Sources/LibTmux/Creation.swift
Other languages
PythonRubyLuaTypeScriptRustGoJava.NET C++
split(_:direction:size:startDirectory:) ( pane : Pane , direction : PaneDirection , size : PaneSize? , startDirectory : String? ) → Pane
methodasync [source]
methodasync [source]
split(_:direction:size:startDirectory:)

Splits one pane, returning the pane that appeared.

The same call as splitWindow(_:direction:size:startDirectory:) with the ambiguity removed: a window has an active pane and tmux splits that one, which is what you want interactively and rarely what you want when building a layout.

Raises

Discussed in Workspaces

In other ports Split a pane in two

0 declared, 0 inherited

Esc

Type to search.