• B
    Fix bug where colours were incorrectly applied · 84b01f20
    Benjamin Sago 提交于
    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.
    84b01f20
run.sh 5.7 KB