diff --git a/Cargo.lock b/Cargo.lock index 02050608b8..4564ffd90f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4411,8 +4411,7 @@ dependencies = [ [[package]] name = "reedline" version = "0.21.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8022fd7e194d238a6af0f558aad44d874640151616f76e2250b8251c902d415" +source = "git+https://github.com/nushell/reedline.git?branch=main#2142c5c8e98aac8ce09d443b17a94f589b75afde" dependencies = [ "chrono", "crossterm 0.26.1", diff --git a/Cargo.toml b/Cargo.toml index 1ed2dcb713..3cd6060037 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,7 +165,7 @@ bench = false # To use a development version of a dependency please use a global override here # changing versions in each sub-crate of the workspace is tedious [patch.crates-io] -# reedline = { git = "https://github.com/nushell/reedline.git", branch = "main"} +reedline = { git = "https://github.com/nushell/reedline.git", branch = "main"} # nu-ansi-term = {git = "https://github.com/nushell/nu-ansi-term.git", branch = "main"} # Criterion benchmarking setup diff --git a/crates/nu-cli/src/repl.rs b/crates/nu-cli/src/repl.rs index 6faf297721..e80ed8defc 100644 --- a/crates/nu-cli/src/repl.rs +++ b/crates/nu-cli/src/repl.rs @@ -597,11 +597,6 @@ pub fn evaluate_repl( } } - // should disable bracketed_paste to avoid strange pasting behavior - // while running commands. - #[cfg(not(target_os = "windows"))] - let _ = line_editor.disable_bracketed_paste(); - eval_source( engine_state, stack,