We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 53fa3e3 + f9a5155 commit 29a7014Copy full SHA for 29a7014
tmuxp/workspacebuilder.py
@@ -287,6 +287,8 @@ def freeze(session):
287
wconf['window_name'] = w.get('window_name')
288
wconf['layout'] = w.get('window_layout')
289
wconf['panes'] = []
290
+ if w.get('window_active', '0') == '1':
291
+ wconf['focus']='true'
292
293
# If all panes have same path, set 'start_directory' instead
294
# of using 'cd' shell commands.
@@ -306,6 +308,9 @@ def freeze(session):
306
308
pconf['shell_command'].append(
307
309
'cd ' + p.get('pane_current_path')
310
)
311
+
312
+ if p.get('pane_active', '0') == '1':
313
+ pconf['focus']='true'
314
315
current_cmd = p.get('pane_current_command')
316
0 commit comments