You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there! I was wondering if it is possible to add a new line after setting some instructions. The instructions may be long, so it would be nice to do that. I've checked the docs, but I didn't find anything relevant. I searched for new line and instruction.
questions= [
{
"type": "text",
"name": "field_name",
"message": "Field Name",
"instruction": "Name used for something, specially for foo and bar, just making the text relatively long",
}
]
questionary.prompt(questions)
Thanks a lot 🙏🏻 !
What have you already tried?
Adding a new line at the end: Name used for something, specially for foo and bar, just making the text relatively long\n. But the style is underlined, so the new line is underlined as well
Read the documentation
I have checked to ensure that my question is not answered by the documentation.
The text was updated successfully, but these errors were encountered:
I don't think it is possible to do exactly as you want. You could possibly remove the underline style from instruction. Alternatively, move the text from instruction into message, then set instruction to \n.
Question
Hello there! I was wondering if it is possible to add a new line after setting some instructions. The instructions may be long, so it would be nice to do that. I've checked the docs, but I didn't find anything relevant. I searched for new line and instruction.
Thanks a lot 🙏🏻 !
What have you already tried?
Adding a new line at the end:
Name used for something, specially for foo and bar, just making the text relatively long\n
. But the style is underlined, so the new line is underlined as wellRead the documentation
The text was updated successfully, but these errors were encountered: