Skip to main content

raw_buffer_candidates

Function raw_buffer_candidates 

Source
pub fn raw_buffer_candidates(
    registry: &BufferRegistry,
    buffer_locals: &HashMap<BufferId, BufferLocals>,
    active: BufferId,
) -> Vec<(RawCandidate, RoutingPayload)>
Expand description

Build the buffer-picker candidate set: every entry in the registry, with the active buffer floated to the bottom and tagged (current) in marginalia. Free function because the picker module is renderer-agnostic; this composes both RawCandidate + RoutingPayload shapes against a BufferRegistry borrow. Phase 5.8.AC.1: hoisted from TUI App.