mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[ruby/irb] Add Alt+d keycode when convert-meta isn't used
I pushed reline#389 for when convert-meta is not turned on in .inputrc. Alt+D in irb also needs to be set to the keycode for not using convert-meta. https://github.com/ruby/irb/commit/328eddf851
This commit is contained in:
parent
dcbe29d2ae
commit
d486286f1d
1 changed files with 1 additions and 0 deletions
|
@ -318,6 +318,7 @@ module IRB
|
|||
dialog.trap_key = nil
|
||||
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.
|
||||
]
|
||||
|
||||
|
|
Loading…
Reference in a new issue