···36363737 // then we spawn the tui on its own thread
3838 let tui_handle = std::thread::spawn({
3939+ // arc stuff
3940 let tui_rt = rt.clone();
4041 let shutdown = shutdown_signal.clone();
4242+4343+ // closure to run the tui
4144 move || -> color_eyre::Result<()> {
4245 // block the tui on the same runtime as above
4346 tui_rt.block_on(async {