diff --git a/src/reader.rs b/src/reader.rs index f9c792a74..00162af8d 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -5179,9 +5179,9 @@ fn fill_history_pager( } } HistoryPagerInvocation::Refresh => { - // Redo the previous search previous direction. + // Make backward search from current position let history_pager = self.history_pager.as_ref().unwrap(); - direction = history_pager.direction; + direction = SearchDirection::Backward; index = history_pager.history_index_start; old_pager_index = Some(self.pager.selected_completion_index()); }