aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/ui/overlay.rs
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term/src/ui/overlay.rs')
-rw-r--r--helix-term/src/ui/overlay.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/helix-term/src/ui/overlay.rs b/helix-term/src/ui/overlay.rs
index 9f522e35..1cd60be5 100644
--- a/helix-term/src/ui/overlay.rs
+++ b/helix-term/src/ui/overlay.rs
@@ -1,4 +1,3 @@
-use crossterm::event::Event;
use helix_core::Position;
use helix_view::{
graphics::{CursorKind, Rect},
@@ -6,7 +5,7 @@ use helix_view::{
};
use tui::buffer::Buffer;
-use crate::compositor::{Component, Context, EventResult};
+use crate::compositor::{Component, Context, Event, EventResult};
/// Contains a component placed in the center of the parent component
pub struct Overlay<T> {