LibTmux.Workspace.WorkspacePane.WithDefaults
- Workspace
Pane WithDefaults( IReadOnly <string, string>? environment = null, IReadDictionary Only <string>? shellList Commands = null, IReadBefore Only <WorkspaceList Command >? beforeCommands = null ) -
Returns a declaration with replacement environment and pre-command defaults.
- Parameters
-
-
environment(IReadOnly <string, string>?) – The local entries to copy, or null to preserve the existing entries.Dictionary Default
null -
shellCommandsBefore(IReadOnly <string>?) – The local commands to copy, or null to preserve the existing commands.List Default
null -
beforeCommands(IReadOnly <WorkspaceList Command >?) – Typed local commands; use instead ofshellCommandsBefore.Default
null
-
- Returns
-
A new declaration; empty collections clear the corresponding defaults.
- Errors
-
-
Argument
Exception – An environment name is empty or contains '=' or NUL, or a value contains NUL.
-