On this page
Server.splitWindow(_:direction:size:startDirectory:)
- Declared in
- Server
- Package
- libtmux-swift
- Source
- Sources/LibTmux/Creation.swift
- 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
- Parameters:
0 declared, 0 inherited