Skip to main content

set_terminal

Function set_terminal 

Source
fn set_terminal(
    terminal_error: &Arc<Mutex<Option<Arc<Error>>>>,
    error: Error,
) -> Arc<Error>
Expand description

Records error as the terminal error unless one is already recorded, and returns the recorded one.