From 7733b1a2c88c287ff39b991646911ac14a4224ff Mon Sep 17 00:00:00 2001 From: Joscha Date: Wed, 10 Aug 2022 23:16:12 +0200 Subject: [PATCH] Update crossterm --- Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- src/ui.rs | 2 +- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index e4691ce..7adfa03 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -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", diff --git a/Cargo.toml b/Cargo.toml index d8cd312..22920b5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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/" } diff --git a/src/ui.rs b/src/ui.rs index f8c16b0..2398737 100644 --- a/src/ui.rs +++ b/src/ui.rs @@ -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 => {}