Skip to content

Commit b776ab3

Browse files
committed
Keeping pane focus on freeze
1 parent 53fa3e3 commit b776ab3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tmuxp/workspacebuilder.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,9 @@ def freeze(session):
306306
pconf['shell_command'].append(
307307
'cd ' + p.get('pane_current_path')
308308
)
309+
310+
if p.get('pane_active', '0') == '1':
311+
pconf['focus']='true'
309312

310313
current_cmd = p.get('pane_current_command')
311314

0 commit comments

Comments
 (0)