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
What I did:
I placed a newline at the message of a list prompt. See the following code:
importinquireranswer=inquirer.list_input(
message="This will modify the file.\nAre you sure?",
choices=[
["Yes", "y"],
["No", "n"],
["Cancel", "c"],
]
)
print(answer)
What did I expect:
For the whole message to clear when moving the cursor.
What did I see:
When I ran the code given above, it will display a normal list prompt. However, when I move the cursor, only the last line of the message is being cleared.
Upon further inspection, the same is true for messages with more newlines in it.
Additional Information:
I have not tested this with other prompts. I am using kitty terminal.
The text was updated successfully, but these errors were encountered:
OS: Arch Linux x86_64 5.17.1-arch1-1
Inquirer version: 2.9.2
What I did:
I placed a newline at the message of a list prompt. See the following code:
What did I expect:
For the whole message to clear when moving the cursor.
What did I see:
When I ran the code given above, it will display a normal list prompt. However, when I move the cursor, only the last line of the message is being cleared.
Upon further inspection, the same is true for messages with more newlines in it.
Additional Information:
I have not tested this with other prompts. I am using kitty terminal.
The text was updated successfully, but these errors were encountered: