On this page
LibTmux.SplitPaneRequest.SplitPaneRequest
- Module
- LibTmux
- Declared in
- SplitPaneRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/SplitPaneRequest.cs
-
Initializes a pane-split request.
- Parameters
-
-
target ( string? ) – The pane to split, or null for the active one.
-
startDirectory ( string? ) – The working directory for the new pane.
-
attach ( bool ) – Whether the new pane becomes active.
-
direction ( PaneDirection? ) – Where the new pane goes.
-
fullWindow ( bool ) – Whether the split spans the whole window.
-
zoom ( bool ) – Whether the new pane is zoomed.
-
command ( string? ) – The command the new pane runs.
-
size ( string? ) – An explicit size in cells.
-
percentage ( int? ) – A size as a percentage of the window.
-
environment ( IReadOnlyDictionary<string, string>? ) – Environment entries set on the new pane.
-
empty ( bool ) – Whether the pane starts with no command.
-
style ( string? ) – The pane style.
-
activeBorderStyle ( string? ) – The border style while the pane is active.
-
inactiveBorderStyle ( string? ) – The border style while it is not.
-
message ( string? ) – A message shown in the pane.
-
keepOpen ( bool ) – Whether the pane stays after its command exits.
-
- Raises
-
-
ArgumentException – Both
sizeandpercentageare set. -
ArgumentOutOfRangeException –
percentageis outside 1 to 100.
-
0 declared, 0 inherited