[前][次][番号順一覧][スレッド一覧]

ruby-changes:65824

From: aycabta <ko1@a...>
Date: Fri, 9 Apr 2021 11:57:36 +0900 (JST)
Subject: [ruby-changes:65824] 6496c76d2a (master): [ruby/reline] Add calling Reline::Config#reset_default_key_bindings to #reset, which is forgot to call

https://git.ruby-lang.org/ruby.git/commit/?id=6496c76d2a

From 6496c76d2a4cc3d6c4870454280d66dc399e11db Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Fri, 9 Apr 2021 11:57:23 +0900
Subject: [ruby/reline] Add calling Reline::Config#reset_default_key_bindings
 to #reset, which is forgot to call

---
 lib/reline/config.rb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/reline/config.rb b/lib/reline/config.rb
index f916fc6..9689c8f 100644
--- a/lib/reline/config.rb
+++ b/lib/reline/config.rb
@@ -74,6 +74,7 @@ class Reline::Config https://github.com/ruby/ruby/blob/trunk/lib/reline/config.rb#L74
     @additional_key_bindings.keys.each do |key|
       @additional_key_bindings[key].clear
     end
+    reset_default_key_bindings
   end
 
   def editing_mode
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]