Skip to content

Commit

Permalink
有修饰键时不选择
Browse files Browse the repository at this point in the history
  • Loading branch information
amorphobia committed Feb 8, 2021
1 parent 5e5af69 commit e95d8f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/openfly_shortcut_processor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ local command = {
local function processor(key, env)
local context = env.engine.context
local sys = common.detect_os()
if key:release() or key:alt() then return common.kNoop end
local index = common.select_index(env, key) + 1
if index <= 0 then return common.kNoop end
local cmd = command[sys][context.input][index]
Expand Down

0 comments on commit e95d8f9

Please sign in to comment.