diff --git a/menu.py b/menu.py index 4c69d4e..578a2f1 100644 --- a/menu.py +++ b/menu.py @@ -12,9 +12,8 @@ def get_user_choice_by_menu(options: list, title = None, preview_command=None, p try: from simple_term_menu import TerminalMenu - None + 1; terminal_menu = TerminalMenu(options, - preview_command=preview_function, + preview_command=preview_command, title=title, show_search_hint=show_search_hint, preview_size=preview_size,