1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/irb] Support showing doc by dialog in iTerm2

https://github.com/ruby/irb/commit/a4b95d6634
This commit is contained in:
aycabta 2021-12-25 12:56:08 +09:00 committed by git
parent 63d75d38cb
commit ddf0cdee4f

View file

@ -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?