Skip to content

Commit 6e08e03

Browse files
committed
Remove -t from selectl in hook
Per the feedback from: - #309 (comment) - #312 (comment) and verified by me with: - #309 (comment) main-pane-width/height wasn't being respected when using targets with selectl.
1 parent 1624abe commit 6e08e03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tmuxp/cli.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ def reattach(session):
300300
# we've literally selected the window at least once
301301
# with the client
302302
hook_cmd.append('selectw -t {}'.format(window.id))
303-
hook_cmd.append('selectl -t {}'.format(window.id))
303+
# edit: removed -t, or else it won't respect main-pane-w/h
304+
hook_cmd.append('selectl'.format(window.id))
304305
hook_cmd.append('selectw -p'.format(window.id))
305306

306307
# unset the hook immediately after executing

0 commit comments

Comments
 (0)