summaryrefslogtreecommitdiffstats
path: root/src/main.rs
AgeCommit message (Collapse)Author
2022-02-21Adjust to changes in clapSebastian Thiel
2022-01-23Update clap to official releaseMarcin Puc
2021-12-27feat: Add `--ignore-dirs` option, with useful default on linux (#116)Sebastian Thiel
On linux there are a few directories which shouldn't be traversed by default as they may cause hangs and blocking. With the new argument it's possible to specify absolute directories to not enter during traversal, with a default set to avoid problematic directories on linux right away.
2021-10-26fix: cargo install without --locked should work now (#111)Sebastian Thiel
2021-10-26change: auto-config support for Apple M1 Pro and Apple M1 MaxSebastian Thiel
2021-06-30upgrade sysinfoSebastian Thiel
2021-06-09Show TUI on stderr to enable writing files to stdoutSebastian Thiel
2021-06-08Print marked items upon exit if these are left in the marked paneSebastian Thiel
Fixes #87
2021-06-07Prepare new releaseSebastian Thiel
2021-06-07Set default processor count on Apple Silicon in a way that won't be totally ↵Sebastian Thiel
wrong in future Soon new hardware will be revealed which probably acts differently.
2021-05-29Only display progress on if stderr is a ttySebastian Thiel
2021-05-29Add simple progress to indicate something is happening on long `dua` runsSebastian Thiel
2021-02-20Respect 'stay_on_filesystem' when no input files are providedZeb Piasecki
2021-02-15Enforce drawing once after traversal is doneSebastian Thiel
Otherwise some 'scanning' message is likely to remain if there is no additional user input.
2021-02-15Keep selecting the first element during iteration unless…Sebastian Thiel
…the user provided input already. Related to #77
2021-02-15thanks clippySebastian Thiel
2020-12-16Select better default thread count on Apple Silicon (M1)Sebastian Thiel
2020-11-15switch from structup to clap 3 beta.2Sebastian Thiel
…to see if the order of arguments is corrected. It's not the case. Related to #71
2020-07-23fix clippy warningsMaxim Zhukov
Signed-off-by: Maxim Zhukov <mussitantesmortem@gmail.com>
2020-07-07Fix color handling (causing the text to disappear); fix tty detectionSebastian Thiel
Crossterm works differently from termion, I might say: more correct!
2020-07-06add windows wildcard argument support (using `wild`)Roy Ivy III
2020-07-06Make interactive mode optional, allow selection of backend for windows, unixSebastian Thiel
2020-07-06Always use crossterm for now just to test if it works and…Sebastian Thiel
…it does!
2020-07-06Use crosstermion to create a terminal with the corresponding backendSebastian Thiel
The only question left is how to conform colors.
2020-07-02Bring structopt back, argh doesn't support OsStringsSebastian Thiel
https://www.reddit.com/r/rust/comments/hjn64e/dua_28_disk_usage_analyzer_is_now_430kb_smaller/fwnjjp9?utm_source=share&utm_medium=web2x
2020-07-02Use 'anyhow' instead of 'failure' to simplify code and reduce bloatSebastian Thiel
2020-07-02All tests work with argh (which really needs aliases)Sebastian Thiel
2020-07-02First version of options struct based on ArghSebastian Thiel
2020-05-31Avoid deallocation a potentially big hashmapSebastian Thiel
2020-05-04Add '-x' flag to not cross filesystemsSebastian Thiel
Fixes #3
2020-03-29Don't try to shutdown keyinput thread to not lose input eventsSebastian Thiel
2020-03-29Allow initial scan to be interrupted properly…Sebastian Thiel
…which requires peeling through all the layers, but it's worth it.
2020-03-29Properly shutdown dua with quick-exit - solves all problemsSebastian Thiel
Interesting, how unfit code is naturally hard to use, and fit code… just fits :D
2020-03-29Now there could possibly be abortable and navigatable GUI while scanning…Sebastian Thiel
…even though it will be wonky at first
2020-03-29Also exit quickly when ctrl+c is pressedSebastian Thiel
2020-03-29cleanup 'quick-hack' done in 2.3.9 - much better nowSebastian Thiel
2020-03-14exit the program directly to avoid latencySebastian Thiel
2020-02-22Rename 'count-links' to more descriptive 'count-hard-links'Sebastian Thiel
2020-02-22Add hardlink tracking, and an option to disable itThomas Hurst
2020-02-22Add support for real/apparent sizeThomas Hurst
2019-07-22Forbid unsafe everywhereSebastian Thiel
Looks much better in cargo-geiger, and is the right thing to do I believe. Most crates should be able to work without any unsafe.
2019-07-21Show broken symlinks on the first level of iterationSebastian Thiel
2019-07-21Assure we flush stdout to switch back to the previous screenSebastian Thiel
Previously the TUI would leave the alternate screen where it was, potentially, as stdout wasn't flushed.
2019-06-15Fix journey-testsSebastian Thiel
2019-06-07Happy clippySathish
2019-06-05Add tui-react as library - it's proven (enough)...Sebastian Thiel
...to be working and worth a slot on crates.io :D
2019-06-05First moderately working step towards react-tui modeSebastian Thiel
2019-06-05Moved 'interactive' portion of code into binary - break unit tests for nowSebastian Thiel
2019-06-03Show directories very similar to ncduSebastian Thiel
2019-06-03bytes formatting for interactive + footerSebastian Thiel