Skip to content

Stale docstring: load_workspace says 'tmuxp does not allow appending' #1027

@tony

Description

@tony

Documentation Bug

The load_workspace docstring in src/tmuxp/cli/load.py (lines 574-577) says:

Currently, tmuxp does not allow appending a workspace / incremental building on top of a current session (pull requests are welcome!).

This is no longer accurate:

  • --append has been supported for some time (adds windows to the current attached session)
  • --here was added on the parity branch (reuses the current window for the first workspace window)

Fix

Remove or replace the stale text with an accurate description of the three session-exists modes:

  1. Default — prompts to reattach to the existing session
  2. --append — adds windows from the workspace to the current attached session
  3. --here — reuses the current window for the first workspace window and renames the session

Files

  • src/tmuxp/cli/load.py lines 574-577

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions