|
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.
|