On this page
LibTmux.NewSessionRequest.NewSessionRequest
- Module
- LibTmux
- Declared in
- NewSessionRequest
- Package
- LibTmux
- Source
- src/LibTmux/Requests/NewSessionRequest.cs
-
Initializes a session-creation request.
- Parameters
-
-
name ( string? ) – The session name, or null to let tmux choose.
-
replaceExisting ( bool ) – Whether a session of the same name is removed first.
-
attach ( bool ) – Whether the new session is attached rather than detached.
-
startDirectory ( string? ) – The working directory for the first pane.
-
windowName ( string? ) – The name of the first window.
-
command ( string? ) – The command the first pane runs.
-
width ( string? ) – The requested width.
-
height ( string? ) – The requested height.
-
environment ( IReadOnlyDictionary<string, string>? ) – Environment entries set on the session.
-
detachOthers ( bool ) – Whether other clients are detached on attach.
-
noSize ( bool ) – Whether tmux may ignore the requested size.
-
clientFlags ( string? ) – Comma-separated client flags passed with
-f.
-
0 declared, 0 inherited