Function run_multiple_choice_menu

Source
pub fn run_multiple_choice_menu() -> Result<Vec<Speed>, Error>
Expand description

Runs a multiple-choice menu in the terminal

This function sets up a TUI menu where the user can select multiple options and confirm with a save button.

§Returns

A vector of selected option strings if saved, or an empty vector if quit without saving

§Errors

Returns an error if terminal operations fail, such as entering/leaving alternate screen, enabling/disabling raw mode, or other I/O operations.