You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll see about fixing hs.window.filter this weekend.
It's not meant to be a permanent fix and I make no promises that it will work in the future but you can add the following to your primary Hammerspoon config file In the mean time and your existing code should work for now.
localwindow=require("hs.window") -- make sure this is loadedlocalwinMT=getmetatable(window)
localoriginal_index=winMT.__indexwinMT.__index=function(self, key)
localanswer=original_index(self, key)
ifanswerthenreturnanswerelsereturnhs.getObjectMetatable("hs.window")[key]
endend
@fent, Just a reminder, when #2576 lands and a new release is made, you should remove the above fix, if you've applied it. It won't break anything at the moment, but I can't guarantee the future.
I have the following bindings in my config which no longer work with the latest version
nothing happens when I press the keys. changing the functions to
hs.alert.show
does display an alert.I downgraded to 0.9.80, and the bindings work again
The text was updated successfully, but these errors were encountered: