resolve_pane_block_id

Function resolve_pane_block_id 

Source
pub(crate) fn resolve_pane_block_id(
    state: &Arc<AppState>,
    browser: &Browser,
) -> Option<String>
Expand description

Resolve the block_id for a pane browser. Panes are registered in state.browsers under labels like browser-pane-<uuid>-<seq>. Find the label whose browser handle matches the given one by is_same, then strip the prefix and the trailing -<seq> to recover the uuid.