Skip to main content

render_menu_block

Function render_menu_block 

Source
pub fn render_menu_block(
    view: &CompletionView,
    theme: &Theme,
    terminal_width: usize,
    terminal_height: usize,
) -> StyledBlock
Expand description

Renders the completion menu as a StyledBlock: each candidate on its own line, with the selected entry highlighted.