fix: change return type of tui to std::io::Result
This commit is contained in:
+1
-1
@@ -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));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user