Skip to content

Commit

Permalink
Support showing doc by dialog in iTerm2
Browse files Browse the repository at this point in the history
  • Loading branch information
aycabta committed Dec 25, 2021
1 parent b80ec58 commit a4b95d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/irb/input-method.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down

0 comments on commit a4b95d6

Please sign in to comment.