diff --git a/src/tui.rs b/src/tui.rs index 1f02a31..ed401fb 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, -) -> std::io::Result<()> { +) -> crate::Result<()> { tokio::spawn(tick_event_listener(tx.clone())); tokio::spawn(crossterm_event_listener(tx));