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

[ruby/irb] Add comments for Alt+d key sequences

https://github.com/ruby/irb/commit/4cb5f7e546
This commit is contained in:
aycabta 2021-09-06 06:37:42 +09:00 committed by git
parent 32ff4a8c93
commit 2a4bacce8c

View file

@ -315,7 +315,10 @@ module IRB
SHOW_DOC_DIALOG = ->() {
dialog.trap_key = nil
alt_d = [[Reline::Key.new(nil, 0xE4, true)], [195, 164]]
alt_d = [
[Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d.
[195, 164] # The "ä" that appears when Alt+d is pressed on xterm.
]
begin
require 'rdoc'
rescue LoadError