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