pub(crate) fn resolve_placement(
direction: Option<&str>,
reference: Option<&str>,
focused: bool,
) -> PlacementExpand description
Translate split_direction + split_reference_block_id into a placement:
a split of the reference block’s pane, or the first free slot when either
is missing. A direction ending in :half (down:half) gives the new pane exactly half of the
reference pane’s space; without it the new pane takes the layout’s default size.