summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2021-12-25 12:56:08 +0900
committergit <svn-admin@ruby-lang.org>2021-12-25 12:56:40 +0900
commitddf0cdee4f449c2b71910357183d1ff9ed19e1ea (patch)
tree514ae179a458670e45de6444152acebcad488f38 /lib
parent63d75d38cb3205eb1e005204beb18002beb37643 (diff)
[ruby/irb] Support showing doc by dialog in iTerm2
https://github.com/ruby/irb/commit/a4b95d6634
Diffstat (limited to 'lib')
-rw-r--r--lib/irb/input-method.rb3
1 files changed, 2 insertions, 1 deletions
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?