1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[ruby/reline] Change the comment about key bindings to more appropriate

https://github.com/ruby/reline/commit/4364d9a386
This commit is contained in:
aycabta 2021-09-07 03:17:22 +09:00 committed by git
parent 30203a6fd9
commit 2441bc8ea9

View file

@ -154,7 +154,7 @@ class Reline::Config
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