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]] [[package]]
name = "reedline" name = "reedline"
version = "0.2.0" 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 = [ dependencies = [
"chrono", "chrono",
"crossterm", "crossterm",

View file

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