Update reedline to paste multiple command lines (#920)

* Update reedline to paste multiple command lines

* Remove comments for non-user events
This commit is contained in:
Stefan Holderbach 2022-02-03 23:56:39 +01:00 committed by GitHub
parent 3d3298290a
commit ac0b331f00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions

2
Cargo.lock generated
View File

@ -3267,7 +3267,7 @@ dependencies = [
[[package]]
name = "reedline"
version = "0.2.0"
source = "git+https://github.com/nushell/reedline?branch=main#43788def682c5857ad7f453795d3e833a5f33a9c"
source = "git+https://github.com/nushell/reedline?branch=main#375c779e360cd368bb75e583986eec856853bbf2"
dependencies = [
"chrono",
"crossterm",

View File

@ -344,9 +344,6 @@ fn parse_event(value: Value, config: &Config) -> Result<ReedlineEvent, ShellErro
ReedlineEvent::Edit(vec![edit])
}
// TODO: add ReedlineEvent::Mouse
// TODO: add ReedlineEvent::Resize
// TODO: add ReedlineEvent::Paste
v => {
return Err(ShellError::UnsupportedConfigValue(
"Reedline event".to_string(),