Skip to content

Commit b609c95

Browse files
author
Jairo Llopis
committed
fixup! Allow multiline input
1 parent feba1a1 commit b609c95

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

copier/config/user_data.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ def ask_interactively(
6868
message += f"{bold | question}? Format: {type_name}\n{emoji} "
6969
lexer_map = {"json": JsonLexer, "yaml": YamlLexer}
7070
lexer = lexer_map.get(type_name)
71+
# HACK https://github.com/prompt-toolkit/python-prompt-toolkit/issues/1071
72+
# FIXME When fixed, use prompt toolkit too for choices and bools
7173
# Use the correct method to ask
7274
if type_name == "bool":
7375
return ask(message, default)

0 commit comments

Comments
 (0)