Update crossterm

This commit is contained in:
Joscha 2022-08-10 23:16:12 +02:00
parent fa91515a61
commit 7733b1a2c8
3 changed files with 7 additions and 7 deletions

6
Cargo.lock generated
View file

@ -220,9 +220,9 @@ dependencies = [
[[package]]
name = "crossterm"
version = "0.24.0"
version = "0.25.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ab9f7409c70a38a56216480fba371ee460207dd8926ccf5b4160591759559170"
checksum = "e64e6c0fbe2c17357405f7c758c1ef960fce08bdfb2c03d88d2a18d7e09c4b67"
dependencies = [
"bitflags",
"crossterm_winapi",
@ -1248,7 +1248,7 @@ dependencies = [
[[package]]
name = "toss"
version = "0.1.0"
source = "git+https://github.com/Garmelon/toss.git?rev=5957e8e5508a3772b2229fc9d8ac30ce4173d356#5957e8e5508a3772b2229fc9d8ac30ce4173d356"
source = "git+https://github.com/Garmelon/toss.git?rev=fbe9e065fcc76f445c8e4feee04dcbf230586a4c#fbe9e065fcc76f445c8e4feee04dcbf230586a4c"
dependencies = [
"crossterm",
"unicode-linebreak",

View file

@ -7,7 +7,8 @@ edition = "2021"
anyhow = "1.0.58"
async-trait = "0.1.56"
clap = { version = "3.2.14", features = ["derive"] }
crossterm = "0.24.0"
cookie = "0.16.0"
crossterm = "0.25.0"
directories = "4.0.1"
edit = "0.1.4"
futures = "0.3.21"
@ -22,7 +23,6 @@ thiserror = "1.0.31"
tokio = { version = "1.20.0", features = ["full"] }
unicode-segmentation = "1.9.0"
unicode-width = "0.1.9"
cookie = "0.16.0"
[dependencies.time]
version = "0.3.11"
@ -34,7 +34,7 @@ features = ["rustls-tls-native-roots"]
[dependencies.toss]
git = "https://github.com/Garmelon/toss.git"
rev = "5957e8e5508a3772b2229fc9d8ac30ce4173d356"
rev = "fbe9e065fcc76f445c8e4feee04dcbf230586a4c"
# [patch."https://github.com/Garmelon/toss.git"]
# toss = { path = "../toss/" }

View file

@ -163,7 +163,7 @@ impl Ui {
.await
}
UiEvent::Term(Event::Mouse(event)) => self.handle_mouse_event(event).await?,
UiEvent::Term(Event::Resize(_, _)) => EventHandleResult::Continue,
UiEvent::Term(_) => EventHandleResult::Continue,
};
match result {
EventHandleResult::Continue => {}