Bump reedline (#785)

This commit is contained in:
JT 2022-01-20 13:57:47 -05:00 committed by GitHub
parent 65ef7b630b
commit 724cfaa890
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 4 deletions

2
Cargo.lock generated
View file

@ -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",

View file

@ -119,9 +119,7 @@ pub(crate) fn evaluate(ctrlc: Arc<AtomicBool>, 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(