pub async fn run_tui(config: Config, config_was_created: bool) -> Result<()>
Run the TUI application.