diff --git a/Cargo.lock b/Cargo.lock index df79bf294f..3d19765a92 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2863,7 +2863,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.2.0" -source = "git+https://github.com/nushell/reedline?branch=main#caebe19742b61f0f2c075865a3b7fb7354ddb189" +source = "git+https://github.com/nushell/reedline?branch=main#52675664d2dd106ac82483fd5134588d7e7a0c11" dependencies = [ "chrono", "crossterm", diff --git a/src/repl.rs b/src/repl.rs index 9b8772cef8..409183e204 100644 --- a/src/repl.rs +++ b/src/repl.rs @@ -119,9 +119,7 @@ pub(crate) fn evaluate(ctrlc: Arc, engine_state: &mut EngineState) - if history.is_ok() { line_editor .with_hinter(Box::new( - DefaultHinter::default() - .with_history() - .with_style(color_hm["hints"]), + DefaultHinter::default().with_style(color_hm["hints"]), )) .with_history(Box::new( FileBackedHistory::with_file(