Skip to main content

next_heuristic_interactive_index

Function next_heuristic_interactive_index 

Source
pub fn next_heuristic_interactive_index(options: &[&str]) -> usize
Expand description

Selects an option for the interactive heuristic (i).

Options are printed 1-based. Prefers the next value from set_heuristic_responses; otherwise prompts on stdin (empty input picks option 1), matching Conjure.