tmuxp.workspace.options.WorkspaceBuilderOptions
Python
- Python
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
-
Parsed
workspace_builder_optionscatalog.An absent
workspace_builder_optionscatalog uses the defaults, whosePaneReadiness.AUTOpolicy waits for a pane's prompt only when the session shell is zsh: zsh workspaces build as before, while bash, sh, and other shells skip the wait. Setpane_readiness: alwaysto restore the previous wait-everywhere behavior.
Members
- pane_readiness : PaneReadiness = PaneReadiness.AUTO
-
pane-prompt wait policy; defaults to
PaneReadiness.AUTO
- from_config ( cls , session_config : dict[str, t.Any] ) WorkspaceBuilderOptions
-
Build options from a full workspace
session_configdict.Reads the optional
workspace_builder_optionscatalog; an absent or empty catalog yields the defaults (see the class docstring for how the defaultPaneReadiness.AUTOpolicy affects non-zsh shells).Examples
>>> WorkspaceBuilderOptions.from_config({}).pane_readiness<PaneReadiness.AUTO: 'auto'>>>> cfg = {"workspace_builder_options": {"pane_readiness": "always"}}>>> WorkspaceBuilderOptions.from_config(cfg).pane_readiness<PaneReadiness.ALWAYS: 'always'>