On this page
LibTmux.NewWindowRequest.NewWindowRequest
- Module
- LibTmux
- Declared in
- NewWindowRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/NewWindowRequest.cs
-
Initializes a window-creation request.
- Parameters
-
-
name ( string? ) – The window name.
-
startDirectory ( string? ) – The working directory for the first pane.
-
attach ( bool ) – Whether the new window becomes current.
-
index ( string? ) – The window index to create at.
-
command ( string? ) – The command the first pane runs.
-
environment ( IReadOnlyDictionary<string, string>? ) – Environment entries set on the window.
-
direction ( WindowDirection? ) – Whether to insert before or after the target.
-
targetWindow ( string? ) – The window to insert relative to.
-
killExisting ( bool ) – Whether an existing window at the index is replaced.
-
selectExisting ( bool ) – Whether an existing window is selected instead.
-
- Raises
-
-
ArgumentException –
indexandtargetWindowboth name a position, so only one of them can be sent.
-
0 declared, 0 inherited