diff options
author | aycabta <aycabta@gmail.com> | 2020-04-15 02:10:27 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2020-04-18 23:09:31 +0900 |
commit | afe997857ec69771078d04a7d4f9da784f478ad5 (patch) | |
tree | 5f628c88b0b08e34c6ee52b3b3d048dead1f26ec /lib/reline | |
parent | 08529a61153e5c40f57a65272211357511d6e6db (diff) |
[ruby/reline] Rename search_history with incremental_search_history
https://github.com/ruby/reline/commit/d563063ea0
Diffstat (limited to 'lib/reline')
-rw-r--r-- | lib/reline/line_editor.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index 095a7b5a09..0a72de1500 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1330,7 +1330,7 @@ class Reline::LineEditor end end - private def search_history(key) + private def incremental_search_history(key) unless @history_pointer if @is_multiline @line_backup_in_history = whole_buffer @@ -1412,12 +1412,12 @@ class Reline::LineEditor end private def ed_search_prev_history(key) - search_history(key) + incremental_search_history(key) end alias_method :reverse_search_history, :ed_search_prev_history private def ed_search_next_history(key) - search_history(key) + incremental_search_history(key) end alias_method :forward_search_history, :ed_search_next_history |