[][src]Crate terminal_menu

Create simple menus for the terminal!

Examples

Structs

TerminalMenuItem
TerminalMenuStruct

Functions

activate

Activate (open) the menu. Menus will deactivate when button items are pressed or deactivated manually.

button

Make a button terminal-menu item.

deactivate

Deactivate (exit) a menu manually.

list_selection

Make a terminal-menu item from which you can select a value from a list.

menu

Create a new terminal-menu.

numeric

Make a terminal-menu item from which you can select a number.

numeric_value

Shortcut to getting the value of the specified numeric item.

run

Activate the menu and wait for it to deactivate (exit).

scroll_selection

Make a terminal-menu item from which you can scroll a value from a selection.

selected_item

Shortcut to getting the selected item as a String.

selection_value

Shortcut to getting the value of the specified selection item as a String.

wait_for_exit

Wait for menu to deactivate (exit).