Skip to main content

apply

Function apply 

Source
pub(crate) fn apply(
    state: &AppState,
    by_agent: bool,
    agent: Option<&str>,
    cmd: &mut CommandPaneOpenData,
)
Expand description

Make cmd open as a tab of the agent’s own pane group when it names no place, for an agent’s open (by_agent; a person’s own shell keeps its splits). agent is the opener, known by its signed identity (none for a container’s own route, which has no history to look at); the agent’s own pane is the one the request names as its reference.