aboutsummaryrefslogtreecommitdiffstats
path: root/application_switch.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-06-19 23:33:26 +0200
committerTeddy Wing2019-06-19 23:33:26 +0200
commit2e5cc43d7d25295a14d634b53af48a6449cd909f (patch)
tree57c7788c6022b9942fe7554ca5b11a9f5347d255 /application_switch.lua
parent11a077d48f0246a98f71465a9f3c54d8a7fcc3a3 (diff)
downloaddothammerspoon-2e5cc43d7d25295a14d634b53af48a6449cd909f.tar.bz2
terminal_tab_hotkeys: Fix errors in enable/disable loops
Since the `terminal_tab_hotkeys` table had both hotkey objects and methods in it, the loops that enable and disable the hotkeys were also looping over the functions, resulting in errors like this: 2019-06-19 23:30:09: ******** 2019-06-19 23:30:09: 23:30:09 ERROR: LuaSkin: hs.application.watcher callback: $HOME/.hammerspoon/terminal_tab_hotkeys.lua:42: attempt to index a function value (local 'v') stack traceback: $HOME/.hammerspoon/terminal_tab_hotkeys.lua:42: in method 'enable' $HOME/.hammerspoon/terminal_tab_hotkeys.lua:55: in function <$HOME/.hammerspoon/terminal_tab_hotkeys.lua:52> 2019-06-19 23:30:09: ******** Go the easy route and just change the methods into functions so that we only put hotkeys in the tables.
Diffstat (limited to 'application_switch.lua')
0 files changed, 0 insertions, 0 deletions