1 unstable release
0.1.1 | Dec 1, 2023 |
---|---|
0.1.0 |
|
#63 in #menu
13KB
224 lines
Moved to console-menu.
lib.rs
:
A simple yet powerful library for creating beautiful console menus in rust.
Allows for easy creation of interactive console menus. A simple example:
use pretty_menu::{Menu, MenuOption, MenuProps};
let menu_options = vec![
MenuOption::new("option 1", || println!("option one!")),
MenuOption::new("option 2", || println!("option two!")),
MenuOption::new("option 3", || println!("option three!")),
];
let mut menu = Menu::new(menu_options, MenuProps::default());
menu.show();
Dependencies
~1.2–8.5MB
~58K SLoC