summaryrefslogtreecommitdiffstats
path: root/src/input/event_provider.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/input/event_provider.rs')
-rw-r--r--src/input/event_provider.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/input/event_provider.rs b/src/input/event_provider.rs
index d6879cb..5c7264b 100644
--- a/src/input/event_provider.rs
+++ b/src/input/event_provider.rs
@@ -47,12 +47,9 @@ pub(crate) fn read_event() -> Result<Option<Event>> {
#[cfg(test)]
mod read_event_mocks {
- use std::{mem, time::Duration};
+ use std::{io::Result, mem, time::Duration};
- use crossterm::{
- event::{Event, KeyCode, KeyEvent},
- Result,
- };
+ use crossterm::event::{Event, KeyCode, KeyEvent};
use lazy_static::lazy_static;
use parking_lot::Mutex;