CITGuru / PyInquirer

A Python module for common interactive command line user interfaces
MIT License
1.91k stars 235 forks source link

List type is not wrapping lines for message or choices #166

Open jorgesmu opened 2 years ago

jorgesmu commented 2 years ago

When submitting a question of type 'list' both the message and the choices don't wrap properly when changing the size of the terminal. This is not happening for other type of questions. For example: 'input' question.

Choices are fixed by setting wrap_lines=True in the ConditionalContainer: https://github.com/CITGuru/PyInquirer/blob/master/PyInquirer/prompts/list.py#L134