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

tmuxp.cli.load.load_workspace

Python
  • Python
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

tmuxp.cli.load.load_workspace
( 13 parameters ) ( workspace_file : StrPath , socket_name : str | None = None , socket_path : str | None = None , tmux_config_file : str | None = None , new_session_name : str | None = None , colors : int | None = None , detached : bool = False , answer_yes : bool = False , append : bool = False , cli_colors : Colors | None = None , progress_format : str | None = None , panel_lines : int | None = None , no_progress : bool = False )
→ Session | None
function [source]
function [source]
tmuxp.cli.load.load_workspace

Entrypoint for tmuxp load, load a tmuxp "workspace" session via config file.

Parameters
  • workspace_file ( StrPath ) – paths or session names to workspace files

  • socket_name ( str | None ) – tmux -L <socket-name>

  • socket_path ( str | None ) – tmux -S <socket-path>

  • new_session_name ( str | None ) – tmux new -s <new_session_name>

  • colors ( int | None ) – Force tmux to support 256 or 88 colors.

  • detached ( bool ) – Force detached state. default False.

  • answer_yes ( bool ) – Assume yes when given prompt to attach in new session. Default False.

  • append ( bool ) – Assume current when given prompt to append windows in same session. Default False.

  • cli_colors ( Colors | None ) – Colors instance for CLI output formatting. If None, uses AUTO.

  • progress_format ( str | None ) – Spinner format preset name or custom format string with tokens.

  • panel_lines ( int | None ) – Number of script-output lines shown in the spinner panel. Defaults to the Spinner default (3). Override via TMUXP_PROGRESS_LINES environment variable.

  • no_progress ( bool ) – Disable the progress spinner entirely. Default False. Also disabled when TMUXP_PROGRESS=0.

Esc

Type to search.