We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c55af90 commit 78bcd76Copy full SHA for 78bcd76
copier/config/user_data.py
@@ -69,6 +69,8 @@ def ask_interactively(
69
message += f"{bold | question}? Format: {type_name}\n{emoji} "
70
lexer_map = {"json": JsonLexer, "yaml": YamlLexer}
71
lexer = lexer_map.get(type_name)
72
+ # HACK https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1071
73
+ # FIXME When fixed, use prompt toolkit too for choices and bools
74
# Use the correct method to ask
75
if type_name == "bool":
76
return ask(message, default)
0 commit comments