You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see this on macOS and Windows WSL.
colorls --version is 1.4.2
The text was updated successfully, but these errors were encountered:
craigemery
changed the title
colorls with more than one file gives output with extra newlines
colorls with more than zero file gives output with extra newlines
Dec 10, 2020
In fact colorls always shows a blank line, but when calling
$ colours
i.e. by itself, there's only one blank line & it's immediately before my prompt appears.
So it's just really noticeable when the blank line appears after every individually specified file.
This is basically a known bug which is not easy to fix since the current code structure revolves around the concept of processing each command line argument in separation (especially in regard to the --report option which prints a report after each argument).
What should be done instead is group all arguments into files and directories. Print all file arguments as one group and then print every directory as subsequent groups.
Description
If I run
$ colorls
i.e. with no arguments, all the files are listed with no blank lines.
If I run
$ colorls *.ext
Then the files are all listed with an extra newline between each one.
This feels wrong.
I see this on macOS and Windows WSL.
colorls --version is 1.4.2
The text was updated successfully, but these errors were encountered: