Skip to main content

refuse_foreign_shell

Function refuse_foreign_shell 

Source
fn refuse_foreign_shell(
    state: &AppState,
    caller: Option<&Caller>,
    shell_id: &str,
) -> Option<Response>
Expand description

The refusal when shell_id is a shell another pane started; None for the caller’s own shell, and for an id no shell holds (there is nothing there to act on).