Skip to main content

picker_buffer_entry

Function picker_buffer_entry 

Source
pub fn picker_buffer_entry(
    entry: &BufferEntry,
    buffer_locals: &HashMap<BufferId, BufferLocals>,
) -> BufferEntry
Expand description

Translate a host-side crate::buffer_registry::BufferEntry into the picker’s renderer-agnostic lattice_picker::BufferEntry. Pure function on the input + buffer-locals map; called by Editor::build_picker_context for every registry entry.

Phase 5.8.AA.s: hoisted from TUI App so both renderer peers build the picker through the same code. FileTreeRoot / OilDir reads route through the canonical domain-crate paths (no TUI re-export needed).