Server.splitWindow(_:direction:size:startDirectory:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Creation.swift
- Other languages
- PythonRuby Lua TypeScriptRustGoJava.NETC++
- splitWindow(_:direction:size:startDirectory:) ( window : Window , direction : PaneDirection , size : PaneSize? , startDirectory : String? ) Pane
-
Splits a window's active pane, returning the pane that appeared.
- Parameters:
- window: the window to split. tmux splits whichever of its panes is active; name a pane instead with
split(_:direction:size:startDirectory:). - direction: which side of that pane the new one takes. Defaults to
PaneDirection/below, so that this andtmux split-windowwith no flags do the same thing. - size: how much of the pane being split to give the new one. Omitted, tmux halves it.
- startDirectory: where the new pane starts. Omitted, tmux uses the pane's own.
- window: the window to split. tmux splits whichever of its panes is active; name a pane instead with
- Raises
In other ports Split a window's active pane
- Python
libtmux.Window.split - Ruby
LibTmux::Window#split - Lua No source-verified Lua equivalent is recorded for this operation.
- TypeScript
window.Window.split - Rust
window.Window.split - Go
tmux.Window.SplitPane - Java
io.github.libtmux.Window.Window.split - .NET
LibTmux.Window.SplitPaneAsync - C++
libtmux::Window::split
- Parameters:
0 declared, 0 inherited