CITGuru / PyInquirer

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

Fix line wrapping for confirmation questions #28

Closed tmbo closed 5 years ago

tmbo commented 5 years ago

Uses the promt toolkit default breaking implemented in shortcuts._split_multiline_prompt. Works in the same way the normal promt does, properly wrapping long lines.

Fixes #21

CITGuru commented 5 years ago

@tmbo Thanks for this, I'll surely look at it

CITGuru commented 5 years ago

I have tested it with various length of text. This is nice. I'll be merging this PR.

tmbo commented 5 years ago

@CITGuru do you mind creating a bugfix release?

CITGuru commented 5 years ago

@tmbo You should expect it by tomorrow. Is that fast enough?

tmbo commented 5 years ago

Yes that would be perfect. Thanks a lot :rocket: