fix: iterm focus client from different tab or window

currently focus client doesn't work if target pane of the client is in different tab or window from current one.
select window, select tab should be triggered in order to select a pane on a currently not focused tab or window.
This commit is contained in:
Girish Kumar 2021-06-02 11:58:01 +05:30
parent 78cdf9da95
commit 95d224a21d

View File

@ -116,6 +116,12 @@ If no client is passed then the current one is used' \
-e " tell aTab to repeat with aSession in sessions" \ -e " tell aTab to repeat with aSession in sessions" \
-e " tell aSession" \ -e " tell aSession" \
-e " if (unique id = \"${session}\") then" \ -e " if (unique id = \"${session}\") then" \
-e " tell aWin" \
-e " select" \
-e " end tell" \
-e " tell aTab" \
-e " select" \
-e " end tell" \
-e " select" \ -e " select" \
-e " end if" \ -e " end if" \
-e " end tell" \ -e " end tell" \