[][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.

get_submenu

Shortcut to getting the specified submenu.

list

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

menu

Create a new terminal-menu.

numeric

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

numeric_value

Shortcut to getting the value of the specified numeric item.

run

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

scroll

Make a terminal-menu item from which you can select 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.

submenu

Make a terminal-menu submenu item.

wait_for_exit

Wait for menu to deactivate (exit).