From 2a4bacce8c3b21ad2283f3588573f37c671152d2 Mon Sep 17 00:00:00 2001 From: aycabta Date: Mon, 6 Sep 2021 06:37:42 +0900 Subject: [ruby/irb] Add comments for Alt+d key sequences https://github.com/ruby/irb/commit/4cb5f7e546 --- lib/irb/input-method.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/irb/input-method.rb') diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index 8f494af786..ea3f31bffc 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -315,7 +315,10 @@ module IRB SHOW_DOC_DIALOG = ->() { dialog.trap_key = nil - alt_d = [[Reline::Key.new(nil, 0xE4, true)], [195, 164]] + alt_d = [ + [Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d. + [195, 164] # The "รค" that appears when Alt+d is pressed on xterm. + ] begin require 'rdoc' rescue LoadError -- cgit v1.2.3