fix: change return type of tui to std::io::Result

This commit is contained in:
monosans
2025-09-30 07:59:31 +03:00
parent e522bf45f2
commit 7e45154db5
+1 -1
View File
@@ -40,7 +40,7 @@ pub async fn run(
token: tokio_util::sync::CancellationToken,
tx: tokio::sync::mpsc::UnboundedSender<Event>,
mut rx: tokio::sync::mpsc::UnboundedReceiver<Event>,
) -> crate::Result<()> {
) -> std::io::Result<()> {
tokio::spawn(tick_event_listener(tx.clone()));
tokio::spawn(crossterm_event_listener(tx));