Use quick_completions in the demo app

Reflects the defaults from nushell.
This commit is contained in:
sholderbach 2022-03-14 01:44:47 +01:00 committed by Stefan Holderbach
parent 28e74b4ebc
commit de49cdaf4e

View File

@ -69,7 +69,7 @@ fn main() -> Result<()> {
let mut line_editor = Reedline::create()?
.with_history(history)?
.with_completer(completer)
.with_quick_completions(false)
.with_quick_completions(true)
.with_partial_completions(true)
.with_highlighter(Box::new(ExampleHighlighter::new(commands)))
.with_hinter(Box::new(