From ddf0cdee4f449c2b71910357183d1ff9ed19e1ea Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 25 Dec 2021 12:56:08 +0900 Subject: [PATCH] [ruby/irb] Support showing doc by dialog in iTerm2 https://github.com/ruby/irb/commit/a4b95d6634 --- lib/irb/input-method.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index f7a4535da7..f965290ac8 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -319,7 +319,8 @@ module IRB alt_d = [ [Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d. [27, 100], # Normal Alt+d when convert-meta isn't used. - [195, 164] # The "ä" that appears when Alt+d is pressed on xterm. + [195, 164], # The "ä" that appears when Alt+d is pressed on xterm. + [226, 136, 130] # The "∂" that appears when Alt+d in pressed on iTerm2. ] if just_cursor_moving and completion_journey_data.nil?