Update crossterm to 0.24 (#447)

This new crossterm version includes a breaking change to the indexing of
certain cursor move operations:

https://github.com/crossterm-rs/crossterm/releases/tag/0.24

While reedline itself might not be affected, check the code of the
consuming application that needs to match the crossterm version!
This commit is contained in:
Stefan Holderbach 2022-07-28 23:09:32 +02:00 committed by GitHub
parent a535eda62b
commit a406bfc662
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

4
Cargo.lock generated
View File

@ -95,9 +95,9 @@ dependencies = [
[[package]]
name = "crossterm"
version = "0.23.2"
version = "0.24.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a2102ea4f781910f8a5b98dd061f4c2023f479ce7bb1236330099ceb5a93cf17"
checksum = "ab9f7409c70a38a56216480fba371ee460207dd8926ccf5b4160591759559170"
dependencies = [
"bitflags",
"crossterm_winapi",

View File

@ -18,7 +18,7 @@ path = "src/main.rs"
[dependencies]
chrono = "0.4.19"
clipboard = { version = "0.5.0", optional = true }
crossterm = { version = "0.23.0", features = ["serde"] }
crossterm = { version = "0.24.0", features = ["serde"] }
itertools = "0.10.3"
nu-ansi-term = "0.46.0"
serde = { version = "1.0", features = ["derive"] }