Skip to content

Commit 93436f9

Browse files
committed
cli(load) Remove outdated tmux 2.6 docstring note
Remove historical documentation about tmux 2.6 layout behavior changes. This is no longer relevant as a "versionchanged" note since tmux 3.2+ is now the minimum version.
1 parent c72d4a5 commit 93436f9

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

src/tmuxp/cli/load.py

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -275,27 +275,6 @@ def load_workspace(
275275
prompt to cleanup (``$ tmux kill-session``) the session on the user's
276276
behalf. An exception raised during this process means it's not easy to
277277
predict how broken the session is.
278-
279-
.. versionchanged:: tmux 2.6+
280-
281-
In tmux 2.6, the way layout and proportion's work when interfacing
282-
with tmux in a detached state (outside of a client) changed. Since
283-
tmuxp builds workspaces in a detached state, the WorkspaceBuilder isn't
284-
able to rely on functionality requiring awarness of session geometry,
285-
e.g. ``set-layout``.
286-
287-
Thankfully, tmux is able to defer commands to run after the user
288-
performs certain actions, such as loading a client via
289-
``attach-session`` or ``switch-client``.
290-
291-
Upon client switch, ``client-session-changed`` is triggered [1]_.
292-
293-
References
294-
----------
295-
.. [1] cmd-switch-client.c hook. GitHub repo for tmux.
296-
297-
https://github.com/tmux/tmux/blob/2.6/cmd-switch-client.c#L132.
298-
Accessed April 8th, 2018.
299278
"""
300279
# get the canonical path, eliminating any symlinks
301280
if isinstance(workspace_file, (str, os.PathLike)):

0 commit comments

Comments
 (0)