Skip to content

Commit

Permalink
Add seamless search on multi select view
Browse files Browse the repository at this point in the history
  • Loading branch information
yankeexe committed Jul 23, 2022
1 parent bf32d71 commit 3470c6d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

setuptools.setup(
name="timezones_cli",
version="0.3.2",
version="0.3.3",
author="Yankee Maharjan",
url="https://github.com/yankeexe/timezones-cli",
description="Get local datetime from multiple timezones!",
Expand Down
6 changes: 5 additions & 1 deletion timezones_cli/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ def handle_interaction(data: List, multi_select=True) -> List[str]:
selections = []
try:
terminal_menu = TerminalMenu(
data, multi_select=multi_select, show_multi_select_hint=multi_select
data,
multi_select=multi_select,
show_multi_select_hint=multi_select,
search_key=None,
show_search_hint=True,
)
menu_entry_index: Optional[Tuple] = terminal_menu.show()

Expand Down

0 comments on commit 3470c6d

Please sign in to comment.