From fa56da9cd12dd391b685f3793afc1a43c3dab341 Mon Sep 17 00:00:00 2001 From: Robert Stein Date: Sat, 13 Nov 2021 14:07:03 +0100 Subject: [PATCH] fix: add space as toggle for fuzzy multiselect --- src/cli/console/input.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/cli/console/input.py b/src/cli/console/input.py index d784f9a..d22b1f1 100644 --- a/src/cli/console/input.py +++ b/src/cli/console/input.py @@ -117,7 +117,11 @@ def list( # prompt answer = inquirer.fuzzy( - message=message, choices=choices_excluded, multiselect=multiselect, transformer=transformer + message=message, + choices=choices_excluded, + multiselect=multiselect, + transformer=transformer, + keybindings={"toggle": [{"key": "space"}]}, ).execute() if not answer: return None