diff options
author | aycabta <[email protected]> | 2021-12-25 12:56:08 +0900 |
---|---|---|
committer | git <[email protected]> | 2021-12-25 12:56:40 +0900 |
commit | ddf0cdee4f449c2b71910357183d1ff9ed19e1ea (patch) | |
tree | 514ae179a458670e45de6444152acebcad488f38 /lib/irb/input-method.rb | |
parent | 63d75d38cb3205eb1e005204beb18002beb37643 (diff) |
[ruby/irb] Support showing doc by dialog in iTerm2
https://github.com/ruby/irb/commit/a4b95d6634
Diffstat (limited to 'lib/irb/input-method.rb')
-rw-r--r-- | lib/irb/input-method.rb | 3 |
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? |