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

break and continue long lines #24

Open
DrPaulBrewer opened this issue Aug 4, 2023 · 1 comment
Open

break and continue long lines #24

DrPaulBrewer opened this issue Aug 4, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@DrPaulBrewer
Copy link

DrPaulBrewer commented Aug 4, 2023

Some of the suggestions returned by gorilla overflow the space available on the screen.

Sometimes it breaks lines and adds \ for continuation. Sometimes it does not do this and makes long lines.

Could the line size be made more consistent?

When gorilla is suggesting a shell command, it could end a line after about 70 chars and add a \ for continuation.
Other contexts have their own line-continuation requirements.

Since this is a matter of preference and there is no single correct way, it suggests a config file or command line switches.

@ShishirPatil
Copy link
Member

Thanks for raising this @DrPaulBrewer 🙏
If you/anyone want to raise a PR, would accept it and welcome you as a contributor. If not, I'll get to this in the next release!

@ShishirPatil ShishirPatil added enhancement New feature or request good first issue Good for newcomers labels Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants