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

This reverts commit 7e45154db5.
This commit is contained in:
monosans
2025-09-30 08:07:35 +03:00
parent 7e45154db5
commit e0ea132b77
+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>,
) -> std::io::Result<()> {
) -> crate::Result<()> {
tokio::spawn(tick_event_listener(tx.clone()));
tokio::spawn(crossterm_event_listener(tx));