зеркало из https://github.com/github/ruby.git
[ruby/reline] Change the comment about key bindings to more appropriate
https://github.com/ruby/reline/commit/4364d9a386
This commit is contained in:
Родитель
30203a6fd9
Коммит
2441bc8ea9
|
@ -154,7 +154,7 @@ class Reline::Config
|
||||||
end
|
end
|
||||||
|
|
||||||
def key_bindings
|
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)
|
@key_actors[@editing_mode_label].default_key_bindings.merge(@additional_key_bindings[@editing_mode_label]).merge(@oneshot_key_bindings)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче