From fb8a568b7e359a36cec80d4e92602d0046a4249f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sat, 15 Jan 2022 16:50:14 -0500 Subject: improve bell handling --- src/shell/history/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/shell/history/mod.rs') 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); -- cgit v1.2.3-54-g00ecf