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:
parent
32ff4a8c93
commit
2a4bacce8c
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue