Workspace ManagerAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

LibTmux.Workspace.WorkspaceWindow.WithDefaults

API reference · Markdown

LibTmux.Workspace.WorkspaceWindow.WithDefaults ( environment : IReadOnlyDictionary<string, string>? , shellCommandsBefore : IReadOnlyList<string>? , beforeCommands : IReadOnlyList<WorkspaceCommand>? ) → WorkspaceWindow
method [source]

Returns a declaration with replacement environment and pre-command defaults.

Parameters
Returns

A new declaration; empty collections clear the corresponding defaults.

Raises
  • ArgumentException – An environment name is empty or contains '=' or NUL, or a value contains NUL.

Esc

Type to search.