summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraycabta <aycabta@gmail.com>2020-05-07 23:44:38 +0900
committeraycabta <aycabta@gmail.com>2020-05-17 19:26:53 +0900
commitf56e05fa7db740a0d35778b00c8f6a78f6acacac (patch)
tree90818927646805f289d56a527fa8ada9201f653c
parentfc2a121c7c56ec29cddc426910aa1ac4cd3f5edc (diff)
[ruby/reline] Remove unnecessary TODO commnet
https://github.com/ruby/reline/commit/23c67fb7b3
-rw-r--r--lib/reline/line_editor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb
index ab4b0915f3..702bf0ee5b 100644
--- a/lib/reline/line_editor.rb
+++ b/lib/reline/line_editor.rb
@@ -1258,7 +1258,7 @@ class Reline::LineEditor
if search_word.empty? and Reline.last_incremental_search
search_word = Reline.last_incremental_search
end
- if @history_pointer # TODO
+ if @history_pointer
case prev_search_key
when "\C-r".ord
history_pointer_base = 0