mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-05 00:01:15 -03:00
Fix refreshing from deletion after forward search
This commit is contained in:
committed by
Johannes Altmanninger
parent
6b5ad163d3
commit
059e7424c1
@@ -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());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user