diff --git a/src/reader.rs b/src/reader.rs index 76513b933..6ff5d0a88 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -4717,7 +4717,7 @@ impl ReaderData { match direction { SearchDirection::Forward => { history_pager.can_go_backwards = true; - if index == 0 { + if index == 0 || index <= result.final_index { return; } history_pager.history_index_start = result.final_index;