ruby-changes:61277
From: aycabta <ko1@a...>
Date: Sun, 17 May 2020 19:30:52 +0900 (JST)
Subject: [ruby-changes:61277] f56e05fa7d (master): [ruby/reline] Remove unnecessary TODO commnet
https://git.ruby-lang.org/ruby.git/commit/?id=f56e05fa7d From f56e05fa7db740a0d35778b00c8f6a78f6acacac Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Thu, 7 May 2020 23:44:38 +0900 Subject: [ruby/reline] Remove unnecessary TODO commnet https://github.com/ruby/reline/commit/23c67fb7b3 diff --git a/lib/reline/line_editor.rb b/lib/reline/line_editor.rb index ab4b091..702bf0e 100644 --- a/lib/reline/line_editor.rb +++ b/lib/reline/line_editor.rb @@ -1258,7 +1258,7 @@ class Reline::LineEditor https://github.com/ruby/ruby/blob/trunk/lib/reline/line_editor.rb#L1258 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 -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/