summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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