cgag / loc

Count lines of code quickly.
MIT License
2.31k stars 125 forks source link

Filename truncation #97

Open mark-summerfield opened 6 years ago

mark-summerfield commented 6 years ago

loc truncates filenames even though my terminal is very wide. I wish loc would read the terminal's width and give any extra space to the filenames column (when using --files).

Also, I wish there was a config file it'd read e.g., to specify default options including includes & excludes.

EgorBu commented 4 years ago

One possible way to solve it - make an option to return result in machine-readable format (ex. JSON).