[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
@ -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…
x
Reference in New Issue
Block a user