Skip to content

Commit cad7557

Browse files
committed
Apply :ignore if no key-bind in two-stroke key-bind
a patch by Tetsuya Hoya
1 parent 90f98a5 commit cad7557

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rbindkeys/key_event_handler.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ def handle_press_event event
139139
r
140140
end
141141
else
142+
if @bind_resolver.two_stroke?
143+
set_bind_resolver (@window_bind_resolver or @default_bind_resolver)
144+
end
142145
r
143146
end
144147
end

0 commit comments

Comments
 (0)