Upgrade reedline for partial hint completion (#802)

This commit is contained in:
Stefan Holderbach 2022-01-21 20:21:22 +01:00 committed by GitHub
parent 0ef0277882
commit 0651e2b31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

2
Cargo.lock generated
View file

@ -2863,7 +2863,7 @@ dependencies = [
[[package]] [[package]]
name = "reedline" name = "reedline"
version = "0.2.0" version = "0.2.0"
source = "git+https://github.com/nushell/reedline?branch=main#180d3dd6c4c1982169f84083a29a1a2606b30d60" source = "git+https://github.com/nushell/reedline?branch=main#7a07ab2bcca2e0287a1efcf8ccdf9845229428c5"
dependencies = [ dependencies = [
"chrono", "chrono",
"crossterm", "crossterm",

View file

@ -194,7 +194,8 @@ fn parse_event(value: Value, config: &Config) -> Result<ReedlineEvent, ShellErro
"none" => ReedlineEvent::None, "none" => ReedlineEvent::None,
"actionhandler" => ReedlineEvent::ActionHandler, "actionhandler" => ReedlineEvent::ActionHandler,
"clearscreen" => ReedlineEvent::ClearScreen, "clearscreen" => ReedlineEvent::ClearScreen,
"complete" => ReedlineEvent::Complete, "historyhintcomplete" => ReedlineEvent::HistoryHintComplete,
"historyhintwordcomplete" => ReedlineEvent::HistoryHintWordComplete,
"ctrld" => ReedlineEvent::CtrlD, "ctrld" => ReedlineEvent::CtrlD,
"ctrlc" => ReedlineEvent::CtrlC, "ctrlc" => ReedlineEvent::CtrlC,
"enter" => ReedlineEvent::Enter, "enter" => ReedlineEvent::Enter,