File tree Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Expand file tree Collapse file tree 1 file changed +5
-7
lines changed Original file line number Diff line number Diff line change 11def 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
4443def 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
You can’t perform that action at this time.
0 commit comments