diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/input-method.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index a48e348732..ef9b9a675a 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -315,7 +315,7 @@ module IRB SHOW_DOC_DIALOG = ->() { dialog.trap_key = nil - alt_d = 0xE4 + alt_d = Reline::Key.new(nil, 0xE4, true) begin require 'rdoc' rescue LoadError @@ -332,7 +332,7 @@ module IRB driver = RDoc::RI::Driver.new - if key.combined_char == alt_d + if key.match?(alt_d) begin driver.display_names([name]) rescue RDoc::RI::Driver::NotFoundError |