Skip to content

Commit 35cb8c2

Browse files
committed
chore(freeze): More term updates
1 parent 958e937 commit 35cb8c2

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

src/tmuxp/workspace/freezer.py

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
def inline(workspace_dict):
2-
"""
3-
Return config in inline form, opposite of :meth:`config.expand`.
2+
"""Return workspace with inlined shorthands. Opposite of :meth:`loader.expand`.
43
54
Parameters
65
----------
@@ -9,7 +8,7 @@ def inline(workspace_dict):
98
Returns
109
-------
1110
dict
12-
configuration with optional inlined configs.
11+
workspace with shorthands inlined.
1312
"""
1413

1514
if (
@@ -30,7 +29,7 @@ def inline(workspace_dict):
3029
0
3130
]
3231

33-
# recurse into window and pane config items
32+
# recurse into window and pane workspace items
3433
if "windows" in workspace_dict:
3534
workspace_dict["windows"] = [
3635
inline(window) for window in workspace_dict["windows"]
@@ -42,8 +41,7 @@ def inline(workspace_dict):
4241

4342

4443
def freeze(session):
45-
"""
46-
Freeze live tmux session and Return session config :py:obj:`dict`.
44+
"""Freeze live tmux session into a tmuxp workspacee.
4745
4846
Parameters
4947
----------
@@ -53,7 +51,7 @@ def freeze(session):
5351
Returns
5452
-------
5553
dict
56-
tmuxp compatible workspace config
54+
tmuxp compatible workspace
5755
"""
5856
sconf = {"session_name": session["session_name"], "windows": []}
5957

0 commit comments

Comments
 (0)