Skip to content

Commit be60085

Browse files
committed
fix: 🐛 crashing when trying to create a new project
1 parent 2ff86af commit be60085

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

terminal_tools/prompts.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def is_dir(entry: str):
3838
for entry in sorted(os.listdir(current_path))
3939
),
4040
]
41-
selected_entry = list_input(message, choices=choices, carousel=False)
41+
selected_entry = list_input(message, choices=choices)
4242

4343
# inquirer will show up to 14 lines including the header
4444
# we have one line for the current path to rewrite
@@ -58,14 +58,14 @@ def list_input(message: str, **kwargs):
5858
"""
5959
Wraps `inquirer`'s list input and catches KeyboardInterrupt
6060
"""
61-
return wrap_keyboard_interrupt(lambda: inquirer_list_input(message, carousel=True, **kwargs))
61+
return wrap_keyboard_interrupt(lambda: inquirer_list_input(message, **kwargs))
6262

6363

6464
def checkbox(message: str, **kwargs):
6565
"""
6666
Wraps `inquirer`'s checkbox and catches KeyboardInterrupt
6767
"""
68-
return wrap_keyboard_interrupt(lambda: inquirer_checkbox(message, carousel=True, **kwargs))
68+
return wrap_keyboard_interrupt(lambda: inquirer_checkbox(message, **kwargs))
6969

7070

7171
def confirm(message: str, **kwargs):

0 commit comments

Comments
 (0)