mirror of
https://github.com/Llewellynvdm/exa.git
synced 2024-11-18 10:15:10 +00:00
a7e3456b0d
This changes the way that views are used to display the actual lists of files. It used to pass empty vectors to the view methods, which most of the time would not print anything because there are no files to list — except when there’s a header row which gets printed for no files. By not calling the view method at all when there’s nothing to print, exa won’t ever print extra things in the view unless it needs to for a file. This fixes #106 “Don’t print the header if the result set is empty”
0 lines
Plaintext
0 lines
Plaintext