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

When showing help, If terminal width is too low, clap goes into an infinite loop #453

Closed
crumblingstatue opened this issue Mar 16, 2016 · 3 comments
Labels
A-help Area: documentation, including docs.rs, readme, examples, etc... C-bug Category: Updating dependencies

Comments

@crumblingstatue
Copy link

If 01a_quick_example is invoked with the help subcommand on a terminal of width 34 or lower, clap goes into an infinite loop. It also keeps allocating memory.

@crumblingstatue
Copy link
Author

this is the problematic loop.

@kbknapp kbknapp added C-bug Category: Updating dependencies P1: urgent A-help Area: documentation, including docs.rs, readme, examples, etc... labels Mar 16, 2016
@kbknapp
Copy link
Member

kbknapp commented Mar 16, 2016

Since this is a bigger issue this'll take priority but should also be an easy fix. Thanks again!

@kbknapp
Copy link
Member

kbknapp commented Mar 16, 2016

I have this fixed locally. Once I get home I'll put in the PR and put out 2.2.1 after the merge

@homu homu closed this as completed in 1d73b03 Mar 17, 2016
@kbknapp kbknapp mentioned this issue Aug 22, 2017
87 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-help Area: documentation, including docs.rs, readme, examples, etc... C-bug Category: Updating dependencies
Projects
None yet
Development

No branches or pull requests

2 participants