Commit Graph

24 Commits (consistency-and-multiselect)
 

Author SHA1 Message Date
Sebastian Lohff 9b833db364 Check type of options passed to __init__
4 years ago
Sebastian Lohff c74e3d68d6 Implement multiple selections with CliMultiMenu
4 years ago
Sebastian Lohff 46a863b3cf Remove broken space keyboard binding for accept
4 years ago
Sebastian Lohff a28c76e001 Allow a default theme and cursor to be set
4 years ago
Sebastian Lohff 45d3395642 Rename add_header() to add_text()
4 years ago
Sebastian Lohff a17f7693e9 Renamed CLI_* cursors to ASCII_* cursors
4 years ago
Sebastian Lohff 648d5c956e Use option text as title if no value is given
4 years ago
Sebastian Lohff 8c6ee790bf Fix get_options() and num_options to work on options
4 years ago
Sebastian Lohff 9fe596bc01 Add option to return instantly on single item in cli_select_item()
4 years ago
Sebastian Lohff d926606976 Add shortcut function to quickly get a selection result
4 years ago
Sebastian Lohff 3d1d2d5acd Add theme example
5 years ago
Sebastian Lohff 58d6170a5c Add bold highlight style to defaults
5 years ago
Sebastian Lohff 206dcc46df Correct typo in var name
5 years ago
Sebastian Lohff 58455be58a Add methods to get all available menu options
5 years ago
Sebastian Lohff f0e5b7bb58 Implement searching for menu items
5 years ago
Sebastian Lohff ec07ebe536 Sort imports
5 years ago
Sebastian Lohff 6a128e13a6 Header indentation and tuple options for constructor
5 years ago
Sebastian Lohff 2f2049bfef Add k/j as up/down keys
5 years ago
Sebastian Lohff 0517b4d996 Return no selection if the user aborted selection
5 years ago
Sebastian Lohff ad3fd751cc Move cursor along with selection for scrolling
5 years ago
Sebastian Lohff e0177d0e10 Fix inline header indentation
5 years ago
Sebastian Lohff b18372e3b8 Allow passing an item to each option
5 years ago
Sebastian Lohff 6655fd097a Add two simple examples
5 years ago
Sebastian Lohff bd31b70e44 Initial commit
5 years ago