mirror of
https://github.com/nushell/nushell.git
synced 2024-12-22 23:23:12 +01:00
bump reedline (#788)
This commit is contained in:
parent
b4e61a056c
commit
69b2ed5566
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -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#52675664d2dd106ac82483fd5134588d7e7a0c11"
|
source = "git+https://github.com/nushell/reedline?branch=main#cd3516c0d5d0825d6942eff926652003f9c8138d"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
|
@ -204,12 +204,15 @@ fn parse_event(value: Value, config: &Config) -> Result<ReedlineEvent, ShellErro
|
|||||||
"down" => ReedlineEvent::Down,
|
"down" => ReedlineEvent::Down,
|
||||||
"right" => ReedlineEvent::Right,
|
"right" => ReedlineEvent::Right,
|
||||||
"left" => ReedlineEvent::Left,
|
"left" => ReedlineEvent::Left,
|
||||||
"nextelement" => ReedlineEvent::NextElement,
|
|
||||||
"nexthistory" => ReedlineEvent::NextHistory,
|
"nexthistory" => ReedlineEvent::NextHistory,
|
||||||
"previouselement" => ReedlineEvent::PreviousElement,
|
|
||||||
"previoushistory" => ReedlineEvent::PreviousHistory,
|
"previoushistory" => ReedlineEvent::PreviousHistory,
|
||||||
"searchhistory" => ReedlineEvent::SearchHistory,
|
"searchhistory" => ReedlineEvent::SearchHistory,
|
||||||
"repaint" => ReedlineEvent::Repaint,
|
"repaint" => ReedlineEvent::Repaint,
|
||||||
|
"menudown" => ReedlineEvent::MenuDown,
|
||||||
|
"menuup" => ReedlineEvent::MenuUp,
|
||||||
|
"menuleft" => ReedlineEvent::MenuLeft,
|
||||||
|
"menuright" => ReedlineEvent::MenuRight,
|
||||||
|
|
||||||
// TODO: add ReedlineEvent::Mouse
|
// TODO: add ReedlineEvent::Mouse
|
||||||
// TODO: add ReedlineEvent::Resize
|
// TODO: add ReedlineEvent::Resize
|
||||||
// TODO: add ReedlineEvent::Paste
|
// TODO: add ReedlineEvent::Paste
|
||||||
|
Loading…
Reference in New Issue
Block a user