Skip to main content

spawn_splash

Function spawn_splash 

Source
pub fn spawn_splash(
    terminal: Terminal<CrosstermBackend<Stdout>>,
    stop: Receiver<()>,
) -> JoinHandle<Terminal<CrosstermBackend<Stdout>>>
Expand description

Run the splash on a blocking thread. Stops as soon as stop is signalled or dropped, then returns the terminal so the caller can hand it to the real TUI.