class libtmux-dotnet
NewSessionRequest
Describes one new-session invocation.
Source and package
- Qualified name
-
LibTmux. New Session Request - Namespace
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Requests/NewSessionRequest.cs
Properties13
| Name | Type | Description |
|---|---|---|
| Attach | bool | Gets whether the new session is attached rather than detached. |
| ClientFlags | string? | Gets the comma-separated client flags passed with -f. |
| Command | string? | Gets the command the first pane runs. |
| DetachOthers | bool | Gets whether other clients are detached on attach. |
| Environment | IRead | Gets the environment entries set on the session. |
| ExpectedGeneration | Server | Gets the daemon generation required for creation, or null for endpoint-scoped creation. |
| Height | string? | Gets the requested height. |
| Name | string? | Gets the session name, or null to let tmux choose. |
| NoSize | bool | Gets whether tmux may ignore the requested size. |
| ReplaceExisting | bool | Gets whether a session of the same name is removed first. |
| StartDirectory | string? | Gets the working directory for the first pane. |
| Width | string? | Gets the requested width. |
| WindowName | string? | Gets the name of the first window. |
Members1 members
- ToCommand Returns a session request as one tmux command.