pub(crate) fn run(app: App, path: &str) -> Result<(), String>
Enter the alt screen, run the loop, and always restore the terminal — even on error or panic — then autosave.