diff --git a/keychord.lua b/keychord.lua index 31db16d..1eb42e9 100644 --- a/keychord.lua +++ b/keychord.lua @@ -5,6 +5,7 @@ Modifiers = {'lctrl', 'rctrl', 'lalt', 'ralt', 'lshift', 'rshift', 'lgui', 'rgui function App.keypressed(key, scancode, isrepeat) if array.find(Modifiers, key) then -- do nothing when the modifier is pressed + return end -- include the modifier(s) when the non-modifer is pressed App.keychord_pressed(App.combine_modifiers(key))