From 18909aafe21ed32f11dcdf646423b43b1a951010 Mon Sep 17 00:00:00 2001 From: Charlie Groves Date: Mon, 22 Aug 2022 01:29:30 +0000 Subject: Update to crossterm-0.25 (#3390) --- helix-term/Cargo.toml | 2 +- helix-term/src/ui/editor.rs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'helix-term') diff --git a/helix-term/Cargo.toml b/helix-term/Cargo.toml index 6724cabc..f4a9642a 100644 --- a/helix-term/Cargo.toml +++ b/helix-term/Cargo.toml @@ -38,7 +38,7 @@ which = "4.2" tokio = { version = "1", features = ["rt", "rt-multi-thread", "io-util", "io-std", "time", "process", "macros", "fs", "parking_lot"] } tui = { path = "../helix-tui", package = "helix-tui", default-features = false, features = ["crossterm"] } -crossterm = { version = "0.24", features = ["event-stream"] } +crossterm = { version = "0.25", features = ["event-stream"] } signal-hook = "0.3" tokio-stream = "0.1" futures-util = { version = "0.3", features = ["std", "async-await"], default-features = false } diff --git a/helix-term/src/ui/editor.rs b/helix-term/src/ui/editor.rs index 438d1412..46218e0d 100644 --- a/helix-term/src/ui/editor.rs +++ b/helix-term/src/ui/editor.rs @@ -1253,6 +1253,7 @@ impl Component for EditorView { } Event::Mouse(event) => self.handle_mouse_event(event, &mut cx), + Event::FocusGained | Event::FocusLost => EventResult::Ignored(None), } } -- cgit v1.2.3-70-g09d2