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
I've been able to reproduce it on Ubuntu 22.04. The problem occurs because Copier ends help messages with \n (and a whitespace, but that doesn't matter) to receive the user's answer in the next line. We use the questionary library for terminal prompting, and it seems the problem is caused either there or further upstream in prompt-toolkit:
importquestionaryquestionary.text(message="UUID (For existing packages, copy the UUID from Project.toml, otherwise use the one generated below)").ask()
# vs.questionary.text(message="UUID (For existing packages, copy the UUID from Project.toml, otherwise use the one generated below)\n").ask()
Describe the problem
If the terminal is not wider than the question, the question is cropped. We expected it to be wrapped.
First reported in JuliaBesties/BestieTemplate.jl#422, but reproduced below:
Template
https://github.com/abelsiqueira/BestieTemplate.jl
To Reproduce
Logs
No response
Expected behavior
Long question should be wrapped so fit the width of the terminal.
Screenshots/screencasts/logs
Operating system
macOS
Operating system distribution and version
16.1
Copier version
9.3.1
Python version
3.12.3
Installation method
pipx+pypi
Additional context
No response
The text was updated successfully, but these errors were encountered: