libtmux Reference MCP Search
On this page

LibTmux.NewSessionRequest

View as Markdown

Module
LibTmux
Package
LibTmux
Source
src/LibTmux/Requests/NewSessionRequest.cs
struct LibTmux.NewSessionRequest
struct [source]
struct [source]
struct LibTmux.NewSessionRequest

Describes one new-session invocation.

Every flag is explicit rather than inferred, so the argv tmux receives is readable from the call site instead of assembled by hidden defaults.

13 declared, 0 inherited

Members

  • NewSessionRequest method Initializes a session-creation request.
  • Attach property Gets whether the new session is attached rather than detached.
  • ClientFlags property Gets the comma-separated client flags passed with -f.
  • Command property Gets the command the first pane runs.
  • DetachOthers property Gets whether other clients are detached on attach.
  • Environment property Gets the environment entries set on the session.
  • Height property Gets the requested height.
  • Name property Gets the session name, or null to let tmux choose.
  • NoSize property Gets whether tmux may ignore the requested size.
  • ReplaceExisting property Gets whether a session of the same name is removed first.
  • StartDirectory property Gets the working directory for the first pane.
  • Width property Gets the requested width.
  • WindowName property Gets the name of the first window.
Esc

Type to search.