From 95d224a21ddfa09510d8a288d7e910852795ba6c Mon Sep 17 00:00:00 2001 From: Girish Kumar Date: Wed, 2 Jun 2021 11:58:01 +0530 Subject: [PATCH 2/2] 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. --- rc/windowing/iterm.kak | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/rc/windowing/iterm.kak b/rc/windowing/iterm.kak index a1bd4697..f3d72d3e 100644 --- a/rc/windowing/iterm.kak +++ b/rc/windowing/iterm.kak @@ -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 aSession" \ -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 " end if" \ -e " end tell" \