diff --git a/src/tui.rs b/src/tui.rs index ed401fb..1f02a31 100644 --- a/src/tui.rs +++ b/src/tui.rs @@ -40,7 +40,7 @@ pub async fn run( token: tokio_util::sync::CancellationToken, tx: tokio::sync::mpsc::UnboundedSender, mut rx: tokio::sync::mpsc::UnboundedReceiver, -) -> crate::Result<()> { +) -> std::io::Result<()> { tokio::spawn(tick_event_listener(tx.clone())); tokio::spawn(crossterm_event_listener(tx));