Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

printing question on several lines #21

Closed
Ghostvv opened this issue Oct 26, 2018 · 7 comments
Closed

printing question on several lines #21

Ghostvv opened this issue Oct 26, 2018 · 7 comments

Comments

@Ghostvv
Copy link

Ghostvv commented Oct 26, 2018

if the type of a question is input, long question is printed on several lines, however if the type is confirm, long question is printed on one line and appears to be cut by terminal window

@CITGuru
Copy link
Owner

CITGuru commented Oct 26, 2018

Can you upload a screenshot to better understand the issue

@CITGuru
Copy link
Owner

CITGuru commented Oct 29, 2018

@Ghostvv I am still waiting for the screenshots

@Ghostvv
Copy link
Author

Ghostvv commented Oct 29, 2018

cut question ("type": "confirm"):
screen shot 2018-10-29 at 10 08 33

while the full question is (for larger terminal window):
screen shot 2018-10-29 at 10 09 42

While for "type": "input", long question is printed on several lines:
screen shot 2018-10-29 at 10 13 15

@CITGuru
Copy link
Owner

CITGuru commented Oct 29, 2018

Oh, I haven't actually experience that. I'll look into it

@Ghostvv
Copy link
Author

Ghostvv commented Oct 29, 2018

thanks

@tmbo
Copy link
Contributor

tmbo commented Nov 12, 2018

@CITGuru did you have time yet to look into this?

tmbo added a commit to tmbo/PyInquirer that referenced this issue Nov 21, 2018
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.
@CITGuru
Copy link
Owner

CITGuru commented Nov 22, 2018

@tmbo, Sorry I didnt reply on time, I forgot to reply. I was busy with other stuff and thanks for the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants