Skip to content

set window focus fix #473

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tmuxp/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,8 @@ def set_layout_hook(session, hook_name):
# with the client
hook_cmd.append('selectw -t {}'.format(window.id))
# edit: removed -t, or else it won't respect main-pane-w/h
hook_cmd.append('selectl'.format(window.id))
hook_cmd.append('selectw -p'.format(window.id))
hook_cmd.append('selectl')
hook_cmd.append('selectw -l')

# unset the hook immediately after executing
hook_cmd.append(
Expand Down