mirror of
https://github.com/nushell/nushell.git
synced 2024-11-22 16:33:37 +01:00
added open editor event in config parsing (#5426)
This commit is contained in:
parent
ac48f5a318
commit
6a972312d4
2
Cargo.lock
generated
2
Cargo.lock
generated
@ -3716,7 +3716,7 @@ dependencies = [
|
|||||||
[[package]]
|
[[package]]
|
||||||
name = "reedline"
|
name = "reedline"
|
||||||
version = "0.4.0"
|
version = "0.4.0"
|
||||||
source = "git+https://github.com/nushell/reedline?branch=main#29f30a8f7926ad5cded3be564b6c26679c10e1c5"
|
source = "git+https://github.com/nushell/reedline?branch=main#33a91e53a25e7edcbdf93224497c1a1b55e74fae"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
|
@ -837,6 +837,7 @@ fn event_from_record(
|
|||||||
"menuprevious" => ReedlineEvent::MenuPrevious,
|
"menuprevious" => ReedlineEvent::MenuPrevious,
|
||||||
"menupagenext" => ReedlineEvent::MenuPageNext,
|
"menupagenext" => ReedlineEvent::MenuPageNext,
|
||||||
"menupageprevious" => ReedlineEvent::MenuPagePrevious,
|
"menupageprevious" => ReedlineEvent::MenuPagePrevious,
|
||||||
|
"openeditor" => ReedlineEvent::OpenEditor,
|
||||||
"menu" => {
|
"menu" => {
|
||||||
let menu = extract_value("name", cols, vals, span)?;
|
let menu = extract_value("name", cols, vals, span)?;
|
||||||
ReedlineEvent::Menu(menu.into_string("", config))
|
ReedlineEvent::Menu(menu.into_string("", config))
|
||||||
|
Loading…
Reference in New Issue
Block a user