mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-01-30 09:08:26 +00:00
84b01f2064
exa assumed that the COLUMNS environment variable being present always meant that the output was to a terminal, so it should use colours. But because this variable can be overridden, colours were being incorrectly set! The ‘fix’ is to stop trying to be clever while only calculating the terminal width once, and instead just stick it in a lazy_static so it’s usable everywhere.
Extra tests
These extra tests are intended to be run from a Vagrant VM that has already had its environment set up -- see the section in the README for more details.