bump reedline (#788)

This commit is contained in:
JT 2022-01-20 18:58:48 -05:00 committed by GitHub
parent b4e61a056c
commit 69b2ed5566
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 3 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#52675664d2dd106ac82483fd5134588d7e7a0c11"
source = "git+https://github.com/nushell/reedline?branch=main#cd3516c0d5d0825d6942eff926652003f9c8138d"
dependencies = [
"chrono",
"crossterm",

View File

@ -204,12 +204,15 @@ fn parse_event(value: Value, config: &Config) -> Result<ReedlineEvent, ShellErro
"down" => ReedlineEvent::Down,
"right" => ReedlineEvent::Right,
"left" => ReedlineEvent::Left,
"nextelement" => ReedlineEvent::NextElement,
"nexthistory" => ReedlineEvent::NextHistory,
"previouselement" => ReedlineEvent::PreviousElement,
"previoushistory" => ReedlineEvent::PreviousHistory,
"searchhistory" => ReedlineEvent::SearchHistory,
"repaint" => ReedlineEvent::Repaint,
"menudown" => ReedlineEvent::MenuDown,
"menuup" => ReedlineEvent::MenuUp,
"menuleft" => ReedlineEvent::MenuLeft,
"menuright" => ReedlineEvent::MenuRight,
// TODO: add ReedlineEvent::Mouse
// TODO: add ReedlineEvent::Resize
// TODO: add ReedlineEvent::Paste