diff --git a/src/main.rs b/src/main.rs index d005657..77c4655 100644 --- a/src/main.rs +++ b/src/main.rs @@ -79,11 +79,11 @@ async fn main() -> Result<(), Box> { app.run_app::<_, _, AppConfig, false>(&mut terminal, sync, config) .await?; - #[cfg(not(any(target_os = "linux", target_os = "windows", target_os = "macos")))] - drop(terminal); // Drop terminal to leave raw mode and alternate screen - util::term::reset_terminal()?; terminal.show_cursor()?; + #[cfg(not(any(target_os = "linux", target_os = "windows", target_os = "macos")))] + drop(terminal); // Drop terminal to leave raw mode and alternate screen + std::process::exit(0); }