-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Trim trailing empty lines from CLI output #1547
Labels
Comments
olatoft
added
enhancement
New feature or enhancement
new
Needs triage. Comments are welcome!
labels
Dec 21, 2023
Lines 22 to 26 in 9e8e369
These lines append two newlines at the end of the output. I also thinks that it should append only a single newline. |
hydromelvictor
added a commit
to hydromelvictor/cli
that referenced
this issue
Jan 15, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Checklist
Enhancement request
The output from the CLI seems to always include 2 trailing empty lines. Could they be removed?
Example command:
$ https google.com
Current output:
The output I would like:
So exactly the same, and still with an empty line for padding between sections like headers and body, but without the 2 trailing empty lines.
Problem it solves
Would give a shorter output. This means there would be a shorter distance to scroll up to some output, and in some cases there would be no need to scroll at all, since more actual output could fit in the window.
Additional information, screenshots, or code examples
Version: 3.2.1
OS: Ubuntu 23.10
The text was updated successfully, but these errors were encountered: