Pin reedline v0.6.0 for the nushell v0.63.0 release (#5620)

Release notes: https://github.com/nushell/reedline/releases/tag/v0.6.0

This release contains several bug fixes and improvements to the vi-emulation and documentation.

- Improvements to the vi-style keybindings (@sadmac7000):
  - `w` now correctly moves to the beginning of the word.
  - `e` to move to the end of the word.
- Bugfixes:
  - Support terminal emulators that erroneously report a size of 0x0 by assuming a default size to avoid panics and draw nevertheless (@DhruvDh)
  - Fix `ListMenu` layout calculations. Avoids scrolling bug when wrapping occurs due to the line numbering (@ahkrr)
  - Avoid allocating to the total history capacity which can cause the application to go out of memory (@sholderbach)
- Documentation improvements including addition of documentation intended for reedline developers (@petrisch, @sholderbach)
This commit is contained in:
Stefan Holderbach 2022-05-24 00:39:55 +02:00 committed by GitHub
parent ef322a24c5
commit 8018ae3286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 5 deletions

5
Cargo.lock generated
View File

@ -3736,8 +3736,9 @@ dependencies = [
[[package]]
name = "reedline"
version = "0.5.0"
source = "git+https://github.com/nushell/reedline?branch=main#85daf4e4fc7c18644077440009db3f70dcd8202c"
version = "0.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "422f144c06f679da4ab4f082a6d1d43e28bfabb68d009100e6e5520728f99fec"
dependencies = [
"chrono",
"crossterm",

View File

@ -55,7 +55,7 @@ nu-utils = { path = "./crates/nu-utils", version = "0.62.1" }
openssl = { version = "0.10.38", features = ["vendored"], optional = true }
pretty_env_logger = "0.4.0"
rayon = "1.5.1"
reedline = { git = "https://github.com/nushell/reedline", branch = "main", features = ["bashisms"]}
reedline = { version = "0.6.0", features = ["bashisms"]}
is_executable = "1.0.1"
[dev-dependencies]

View File

@ -18,7 +18,7 @@ nu-protocol = { path = "../nu-protocol", version = "0.62.1" }
nu-utils = { path = "../nu-utils", version = "0.62.1" }
nu-ansi-term = "0.45.1"
nu-color-config = { path = "../nu-color-config", version = "0.62.1" }
reedline = { git = "https://github.com/nushell/reedline", branch = "main", features = ["bashisms"]}
reedline = { version = "0.6.0", features = ["bashisms"]}
crossterm = "0.23.0"
miette = { version = "4.5.0", features = ["fancy"] }
thiserror = "1.0.29"

View File

@ -82,7 +82,7 @@ unicode-segmentation = "1.8.0"
url = "2.2.1"
uuid = { version = "0.8.2", features = ["v4"] }
which = { version = "4.2.2", optional = true }
reedline = { git = "https://github.com/nushell/reedline", branch = "main", features = ["bashisms"]}
reedline = { version = "0.6.0", features = ["bashisms"]}
wax = { version = "0.4.0", features = ["diagnostics"] }
rusqlite = { version = "0.27.0", features = ["bundled"], optional = true }
sqlparser = { version = "0.16.0", features = ["serde"], optional = true }