fix new window activation

Wed, 27 Sep 2017 18:45:35 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 27 Sep 2017 18:45:35 -0400
changeset 648
2918ff726641
parent 647
eabafa02cdb2
child 649
a421fcbe4dd4

fix new window activation

.hammerspoon/init.lua file | annotate | diff | comparison | revisions
--- a/.hammerspoon/init.lua
+++ b/.hammerspoon/init.lua
@@ -41,7 +41,7 @@ cmd('return', function ()
   hs.applescript.applescript([[
     tell application "iTerm"
       set newterm to (create window with default profile)
-      tell newterm to activate
+      activate window newterm
     end tell
   ]])
 end)

mercurial