Skip to main content

handle_enter

Function handle_enter 

Source
pub async fn handle_enter(
    app: &mut App,
    cwd: &Path,
    session: &mut Session,
    registry: &Option<Arc<ProviderRegistry>>,
    worker_bridge: &Option<TuiWorkerBridge>,
    event_tx: &Sender<SessionEvent>,
    result_tx: &Sender<Result<Session>>,
)
Expand description

Dispatch Enter to the handler matching the active view.

§Examples

dispatch_enter(&mut app, cwd, &mut session, &reg,
    &bridge, &tx, &rtx).await;