Skip to main content

keep_in_own_tab

Function keep_in_own_tab 

Source
pub(crate) fn keep_in_own_tab(
    mstore: &Store,
    own: &[(String, Option<String>)],
    cmd: &mut CommandPaneOpenData,
) -> Option<String>
Expand description

Keeps cmd’s named panes inside the agent’s own tabs (own, from own_panes) or the tab it names outright: one elsewhere is dropped, the open goes beside the agent’s own pane (or into the named tab), and the note for the answer says so.