Skip to content

Commit a4b95d6

Browse files
committed
Support showing doc by dialog in iTerm2
1 parent b80ec58 commit a4b95d6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/irb/input-method.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ def auto_indent(&block)
319319
alt_d = [
320320
[Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d.
321321
[27, 100], # Normal Alt+d when convert-meta isn't used.
322-
[195, 164] # The "ä" that appears when Alt+d is pressed on xterm.
322+
[195, 164], # The "ä" that appears when Alt+d is pressed on xterm.
323+
[226, 136, 130] # The "∂" that appears when Alt+d in pressed on iTerm2.
323324
]
324325

325326
if just_cursor_moving and completion_journey_data.nil?

0 commit comments

Comments
 (0)