Skip to content

Commit

Permalink
fix: 'questionary.select'的'disable'选项可通过快捷键交互
Browse files Browse the repository at this point in the history
  • Loading branch information
weiduhuo committed Nov 14, 2023
1 parent b152953 commit 37e133e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/questionary/questionary/prompts/select.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def _(event):
"for movement are disabled. "
"This choice is not reachable.".format(c.title)
)
if isinstance(c, Separator) or c.shortcut_key is None:
if isinstance(c, Separator) or c.shortcut_key is None or c.disabled:
continue

# noinspection PyShadowingNames
Expand Down

0 comments on commit 37e133e

Please sign in to comment.