Skip to main content

tab_complete

Function tab_complete 

Source
fn tab_complete(
    input_buf: &mut [u8],
    input_len: &mut usize,
    cursor_pos: &mut usize,
    registry: &CommandRegistry,
)
Expand description

Tab completion for command names and VFS paths.

If the cursor is on the first token, completes against registered commands. Otherwise completes against VFS directory entries.