Skip to main content

limit_new_pane

Function limit_new_pane 

Source
pub(crate) async fn limit_new_pane(
    state: &AppState,
    pane: &str,
    list: Option<Vec<String>>,
)
Expand description

Limit pane, which OpenBrowser just opened, to list if one was given, and send it to the host at once, not on the next sync: the host must have it before the pane’s first navigation can leave it.