Skip to main content

resolve_target

Function resolve_target 

Source
pub(crate) fn resolve_target(
    target: Option<&str>,
    who: &CallerFacts,
    pane_tab: impl Fn(&str) -> Option<String>,
) -> Result<(String, Option<String>), Refusal>
Expand description

Where the open lands (G3, D1): beside the caller, or a new pane in its tab. A window is refused; a tab or a pane that is not the caller’s own is not reached: the open lands in the caller’s own tab.