solidiquis / erdtree

A modern, cross-platform, multi-threaded, and general purpose filesystem and disk-usage utility that is aware of .gitignore and hidden file rules.
https://crates.io/crates/erdtree
MIT License
2.39k stars 64 forks source link

refactor: :heavy_plus_sign: Added terminal_size dependency #229

Closed KP64 closed 1 year ago

KP64 commented 1 year ago

The addition of the 'terminal_size' crate provides a cross-platform way of getting the current terminal dimensions. This allows to refactor tty.rs to a single file instead of the previously 3 files used (mod.rs, windows.rs & unix.rs).