Hammerspoon/hammerspoon
windowHints hotkey modal clashes with user defined modals
开放
#606 创建于 2015年10月14日
bughelp wanted
仓库指标
- 星标
- (15,415 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
It seems like windowHints implementation is based on modal hotkeys, and it defines a global variable named "k" for the modal. That global variable was clashing with my own modal variable (also named "k") causing weird behavior. Changing my modal variable name fixed it.
I'm not experienced enough with hammerspoon or lua to fix this myself. Is it possible to use a local variable in the windowHints module? Maybe the windowHints variable should have a less common name?
I believe this is the line causing trouble.
Thanks!