mirror of
https://github.com/nushell/nushell
synced 2024-12-27 05:23:11 +00:00
added open editor event in config parsing (#5426)
This commit is contained in:
parent
ac48f5a318
commit
6a972312d4
2 changed files with 2 additions and 1 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -3716,7 +3716,7 @@ dependencies = [
|
|||
[[package]]
|
||||
name = "reedline"
|
||||
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 = [
|
||||
"chrono",
|
||||
"crossterm",
|
||||
|
|
|
@ -837,6 +837,7 @@ fn event_from_record(
|
|||
"menuprevious" => ReedlineEvent::MenuPrevious,
|
||||
"menupagenext" => ReedlineEvent::MenuPageNext,
|
||||
"menupageprevious" => ReedlineEvent::MenuPagePrevious,
|
||||
"openeditor" => ReedlineEvent::OpenEditor,
|
||||
"menu" => {
|
||||
let menu = extract_value("name", cols, vals, span)?;
|
||||
ReedlineEvent::Menu(menu.into_string("", config))
|
||||
|
|
Loading…
Reference in a new issue