diff options
Diffstat (limited to 'src/shell/history/mod.rs')
-rw-r--r-- | src/shell/history/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shell/history/mod.rs b/src/shell/history/mod.rs index 19223ec..2863cad 100644 --- a/src/shell/history/mod.rs +++ b/src/shell/history/mod.rs @@ -29,7 +29,7 @@ impl History { ) -> anyhow::Result<()> { let mut used_lines = repl_lines; let mut cursor = None; - for (idx, entry) in + for (idx, mut entry) in self.visible(repl_lines, focus, scrolling).await.rev() { let focused = focus.map_or(false, |focus| idx == focus); |