From a4b95d66343904b403ef64ae76e8c72a58e52e7c Mon Sep 17 00:00:00 2001 From: aycabta Date: Sat, 25 Dec 2021 12:56:08 +0900 Subject: [PATCH] Support showing doc by dialog in iTerm2 --- 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 f7a4535da..f965290ac 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -319,7 +319,8 @@ def auto_indent(&block) 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?