//! Judo - A terminal-based todo list application
usecolor_eyre::Result;usejudo::app::App;/// Application entry point
////// Initializes the terminal, creates the application instance, runs the main loop,
/// and properly restores the terminal on exit.
#[tokio::main]
async fnmain()->Result<()>{// Set the terminal up
letmut terminal =ratatui::init();// Set up the app
let app =App::new().await;// Create and run the app
let app_result = app.run(&mut terminal).await;// Restore terminal to original state
ratatui::restore();
app_result
}