diff options
author | ima1zumi <mariimaizumi5@gmail.com> | 2021-11-29 21:59:12 +0900 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2021-12-03 00:51:41 +0900 |
commit | d486286f1d8fa01356498792b368c46fe9619d09 (patch) | |
tree | bdbbcbfdb98dd2e6212ea1b1d46742020f6c6100 | |
parent | dcbe29d2aefa5304af443e13a156c80850f47ea5 (diff) |
[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
-rw-r--r-- | lib/irb/input-method.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/irb/input-method.rb b/lib/irb/input-method.rb index dc95065f97..f7a4535da7 100644 --- a/lib/irb/input-method.rb +++ b/lib/irb/input-method.rb @@ -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. ] |