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

🚀 Make help terminal-width-sensitive #1316

Closed
FGasper opened this issue Feb 28, 2023 · 1 comment · Fixed by #1350
Closed

🚀 Make help terminal-width-sensitive #1316

FGasper opened this issue Feb 28, 2023 · 1 comment · Fixed by #1350

Comments

@FGasper
Copy link

FGasper commented Feb 28, 2023

I generally use 80-column terminal windows, and the help text currently looks thus:
image

It would be awesome if the help text deduced my terminal width automatically and line-wrapped text accordingly.

@dandavison
Copy link
Owner

It looks like the CLI library that delta uses (clap) has a wrap_help feature: https://github.com/search?q=repo%3Aclap-rs%2Fclap%20wrap_help&type=code Perhaps this will require finishing off this PR: #1253

dandavison added a commit that referenced this issue Mar 13, 2023
dandavison added a commit that referenced this issue Mar 15, 2023
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

Successfully merging a pull request may close this issue.

2 participants