From 7e45154db5f5536d2ef7ef45a50ea6fd15b2eb5b Mon Sep 17 00:00:00 2001 From: monosans Date: Tue, 30 Sep 2025 07:59:31 +0300 Subject: [PATCH] fix: change return type of tui to std::io::Result --- src/tui.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));