pub(crate) fn run_app( terminal: &mut Terminal<CrosstermBackend<Stdout>>, app: &mut App, ) -> Result<()>