We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1fc3276 commit cf78a38Copy full SHA for cf78a38
lib/reline.rb
@@ -22,7 +22,7 @@ def match?(key)
22
(key.char.nil? or char.nil? or char == key.char) and
23
(key.combined_char.nil? or combined_char.nil? or combined_char == key.combined_char) and
24
(key.with_meta.nil? or with_meta.nil? or with_meta == key.with_meta)
25
- elsif key.is_a?(Integer)
+ elsif key.is_a?(Integer) or key.is_a?(Symbol)
26
if not combined_char.nil? and combined_char == key
27
true
28
elsif not char.nil? and char == key
0 commit comments