Skip to content

Commit 328eddf

Browse files
committed
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.
1 parent bd597bc commit 328eddf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/irb/input-method.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ def auto_indent(&block)
318318
dialog.trap_key = nil
319319
alt_d = [
320320
[Reline::Key.new(nil, 0xE4, true)], # Normal Alt+d.
321+
[27, 100], # Normal Alt+d when convert-meta isn't used.
321322
[195, 164] # The "ä" that appears when Alt+d is pressed on xterm.
322323
]
323324

0 commit comments

Comments
 (0)