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

ruby-changes:67649

From: aycabta <ko1@a...>
Date: Tue, 7 Sep 2021 03:23:38 +0900 (JST)
Subject: [ruby-changes:67649] 2441bc8ea9 (master): [ruby/reline] Change the comment about key bindings to more appropriate

https://git.ruby-lang.org/ruby.git/commit/?id=2441bc8ea9

From 2441bc8ea90b4e6790afb3174167103ec6a3b240 Mon Sep 17 00:00:00 2001
From: aycabta <aycabta@g...>
Date: Tue, 7 Sep 2021 03:17:22 +0900
Subject: [ruby/reline] Change the comment about key bindings to more
 appropriate

https://github.com/ruby/reline/commit/4364d9a386
---
 lib/reline/config.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/reline/config.rb b/lib/reline/config.rb
index f970bcc..a46be28 100644
--- a/lib/reline/config.rb
+++ b/lib/reline/config.rb
@@ -154,7 +154,7 @@ class Reline::Config https://github.com/ruby/ruby/blob/trunk/lib/reline/config.rb#L154
   end
 
   def key_bindings
-    # override @key_actors[@editing_mode_label].default_key_bindings with @additional_key_bindings[@editing_mode_label]
+    # The key bindings for each editing mode will be overwritten by the user-defined ones.
     @key_actors[@editing_mode_label].default_key_bindings.merge(@additional_key_bindings[@editing_mode_label]).merge(@oneshot_key_bindings)
   end
 
-- 
cgit v1.1


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

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